EnableZeebeClient is reporting deprecated. How to implement the Zeebe client?

EnableZeebeClient is reporting deprecated. How to implement the zeebe client ? Please find my dependency and springboot application java file.

dependency used -

	<dependency>
	  <groupId>io.camunda</groupId>
	  <artifactId>spring-zeebe-starter</artifactId>
	  <version>8.2.1</version>
	</dependency>
	<dependency>
	  <groupId>io.camunda</groupId>
	  <artifactId>zeebe-client-java</artifactId>
	  <version>8.1.9</version>
	</dependency>		

I found that EnableZeebeClient is no longer available in the latest dependency. Now what is the new way to enable Zeebe client in springboot application project? Any Help in this?

Hi @Supriyo,

the spring boot application starts the Zeebe client automatically.

No explicit annotation is required anymore, you can simply delete the annotation and it’s import.

Hope this helps, Ingo

Thanks @Ingo_Richtsmeier

Same is applicable for ZeebeWorker also right?

Thanks
supriyo

Hello @Supriyo ,

@ZeebeWorker is now @JobWorker.

If there is a detailed explanation missing in the javadocs, feel free to open an issue and file a PR here: GitHub - camunda-community-hub/spring-zeebe: Easily use the Zeebe Java Client in your Spring or Spring Boot projects

Thanks @jonathan.lukas

1 Like

Thank You @Ingo_Richtsmeier

1 Like