Hi! Sure,
Firstly, I create a new ProcessInstance with zeebe.newCreateInstanceCommand() method.
After that, I would like to get an event if the process status are ACTIVE or COMPLETED and I have to forward each process statuses to a Kafka topic.
I use camundaOperateClient.getProcessInstance(processInstanceId);
to get to know the process status but I get 404 ( because of there is a delay between zeebe and Operate). So what would be the right scenario?
I do not use any scheduler for this, How can I solve it?
and I have not decided that If I should asynchronous or synchronous calling. I prefer asynchronous to synchronous. Thank you for your help!
I thought that I use only Elastic or Custom exporter for monitoring process status changes. I have to manipulate data before I send it the Kafka topic. I would like to manage Kafka message sending myself