Getting Warning in spring-zeebe client Constantly

Hi Team,

We are constantly getting one warning in the spring Zeebe client and we are not able to figure out why we are getting the error. The workload for the zeebe is very less. we are having only one workflow deployed and a maximum of 5 instances created per hour and it will be complete within a minute.

Another thing we noticed is when there are no jobs available for workers, that time it will show this warning.

Zeebe 0.25.3 (assigned 16GB RAM & 8VCPU)
spring-zeebe-starter 0.25.0

2020-12-28 15:20:50.046  WARN 1 --- [lt-executor-359] io.zeebe.client.job.poller               : Failed to activated jobs for worker success_event_handler and job type success_event_handle
io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Expected to activate jobs of type 'ac_success_event_handler', but no jobs available and at least one broker returned 'RESOURCE_EXHAUSTED'. Ple
ase try again later.
        at io.grpc.Status.asRuntimeException( ~[grpc-api-1.33.0.jar!/:1.33.0]
        at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose( ~[grpc-stub-1.33.0.jar!/:1.33.0]
        at io.grpc.internal.ClientCallImpl.closeObserver( ~[grpc-core-1.33.0.jar!/:1.33.0]
        at io.grpc.internal.ClientCallImpl.access$300( ~[grpc-core-1.33.0.jar!/:1.33.0]
        at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal( ~[grpc-core-1.33.0.jar!/:1.33.0]
        at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext( ~[grpc-core-1.33.0.jar!/:1.33.0]
        at ~[grpc-core-1.33.0.jar!/:1.33.0]
        at ~[grpc-core-1.33.0.jar!/:1.33.0]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker( ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor$ ~[na:na]
        at java.base/ ~[na:na]

Please help us in resolving the issue, we are close to production but due to this issue, we are struggling!


How many workers do you have, and how often are they polling?

How does your system perform under load? Have you load tested it?

This is not an issue per se - it’s a warning message in the log.

It could be the visible symptom of an actual issue that affects performance, but… is it?

1 Like

Hi @jwulf,

I figured out the issue, it was due to the wrong conditional expression in zeebe java client. It’s a bug in zeebe java client. I raised an issue in github.

1 Like