Master Developer
Master Developer

Reputation: 97

Workers are activated but not receiving jobs to process

We are using camunda zeebe 8.4 with springboot. We are using the streams to receive the jobs in java application and then process the same and return the response back to zeebe.

We can see in zeebe simple monitor that the jobs are activated but the worker has not started processing the job and it gets stuck for indefinitely.

Can anyone suggest what can be the possible reasons of this indefinite stuck of job?

Code snippet :

@JobWorker(type="test-worker")
public WorkerProcess processTask(final ActivatedJob job){
// do something ....
// responseMap is the output of processing done above.


zeebeClient.newCompleteCommand(job.getKey()
           .variables(responseMap)
           .send()
           .join();

return responseMap;
}```

Upvotes: 0

Views: 139

Answers (0)

Related Questions