What should be the best practice for creating zeebe clients in java…
one client for each worker or a single client for all workers.
What should be the best practice for creating zeebe clients in java…
one client for each worker or a single client for all workers.
Hello @vickey ,
this depends on your setup:
You will have 1 client for each zeebe gateway you want to connect to.
Each worker then is registered in each client he should execute jobs in.
Typically, you will only have 1 zeebe gateway which means you create 1 client.
Then, you register all your workers to this one client.
I hope this helps
Jonathan