Hello,
What is the difference between using History event handler and execution listeners?
Thanks
Hello,
What is the difference between using History event handler and execution listeners?
Thanks
Hello,
It depends on what you are trying to achieve.
Regards,
Catch some specific activities like process deployement, process start, end. And redirect them to kafka broker.
Both the methods can help us achieve that, but i can’t see the difference.
Thanks,
Any response ?
Hi,
The history event handler approach is related to historic operations.
For example, process deployment is not such kind of operation. So you cannot use this approach for it. But the execution listener won’t help you either. (A solution for this will be if you use process application to configure #postDeploy()
)
So as I said it depends on what you want to achieve.
(1): https://docs.camunda.org/manual/7.9/user-guide/process-engine/history/#provide-a-custom-history-backend
(2): https://docs.camunda.org/manual/7.9/user-guide/process-engine/delegation-code/#execution-listener
Best regards,
Yana