As I am new to Camunda 8, Can anyone give the difference using Spring zeebe and just the Java client from coding perspective. are there any features which are enhanced in spring client or any example to explain in better way? Which one is preferred and supported by camunda enterprise version.
Both clients are compatible with Camunda 8. In fact, SpringZeebe uses the zeebe-java-client under the hood. It adds additional convenience functions: you can add configuration in a YAML file and creating a job worker is as simple as annotating a function (or class). In the java client, more manual work is required. You have to take care of creating, starting, and stopping workers yourself.
If Spring Boot is already part of your technology stack, I would choose springZeebe. If you have a different technology stack, i.e., using CDI, I would base my solution on the java client.
@StephanHaarmann - Thank you for your explanantion. Yeah we are using springboot and were using camunda 7 embedded version earlier. so we are planning to migrate to camunda 8 and we are facing issue with the self managed version. I have raised a separate topic in camunda forum. you can find it below. If you are aware of possible solutions, it would be of great help. Interestingly, same code works fine with cloud config.