According to the getting started documentation, the Java ZeebeClient’s newWorker() method for creating a job worker should return a JobWorker but it returns a JobWorkerBuilderStep1 (v 0.25.3).
Am I missing something really fundamental here? I am a Java developer, but can’t get the JobWorker coded with this.
The Zeebe documentation:
try(final JobWorker jobWorker = client.newWorker()) {
jobWorker.jobType("payment-service")
.handler((jobClient, job) ->
{
System.out.println("Collect money");
…