on 2019 Apr 04 11:43 AM - last edited on 2024 Feb 04 6:22 AM by postmig_api_4
I have implemented and enabled "CanonicalItemPublicationStatusEvent" in datahub 1808, but still it's not getting fired by datahub.
To enable item level events I have added below properties in my datahub local.properties file. : datahub.event.itempublication.enabled=true datahub.event.rawitem.enabled=true datahub.event.canonicalitem.enabled=true datahub.event.targetitem.enabled=true datahub.item.level.lifecycle.logging=true datahub.event.data-attributes.enabled=true datahub.event.batches.received.enabled=true
Below is the implementation of "CanonicalItemPublicationStatusEvent", I have just tried to adding logs to verify the event is getting fired by datahub. But I couldn't able to find any of these logs in log file. :

Can anyone please help me out if I'm missing any configurations here ? to enable the item level event. Or any problem in the implementation class ?
Request clarification before answering.
You may need to add these properties as well:
datahub.event.push.enabled=true
datahub.event.push.events=RawItemEvent,CanonicalItemEvent,ArchivedCanonicalItemEvent,BatchesReceivedEvent,CanonicalItemPublicationStatusEvent,NoMorePublicationAttemptsEvent
You may adjust the list of event being pushed to your needs.
This seems redundant but there is a reason why it's done so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.