BPMN workflow getting stuck on Zeebe publish message task

Hi,

I am trying to publish a message using newPublishMessageCommand() but some how workflow is getting stuck.

For 1 or 2 requests it is working for me but when applying load for 500 request only 17-18 times workflow reaches to the end.

Is there any message related or thread related configurations in zeebe that I am missing? or is it something else?

Here is the code snippet that is causing issue:

zeebeClient.newPublishMessageCommand().messageName(ACCOUNT_LOOKUP).correlationKey(transactionId).timeToLive(Duration.ofMillis(360000))
                .variables(variables).send().join();

Thanks in advance.

Hi @Dhaval_Maniyar, welcome to the forums! Are you using Camunda’s SaaS product, the Self-Managed version, or just Zeebe standlone? If SaaS or Self-Managed, what shows in Operate for the instances that failed?