You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thank you for implementing the worker library.
I am currently evaluating it, and I have a question. I would like to be able to use multiple workers with different configurations (number of workers). Would the following be a valid use of the worker library:
Would this result in 2 workers - the first with only one worker count and only getting external tasks for the topic "sayHello" for task handler SayHalloHandler.
And a second worker with worker count 4 only getting external tasks for topic "sayHelloGuest" for task handler SayHelloGuestHandler?
If so, how are the TaskHandlers added using AddTaskHandler() tied to the worker?
Thanks.
BR
Michael
The text was updated successfully, but these errors were encountered:
Unfortunately implementation of this library doesn't support multiple registration of CamundaWorker that you expect. The case that you described will lead to the fact that each worker processes two types of tasks (sayHello and sayHelloGuest).
I think that support for your case can be implemented by binding most of the internal services to the registered worker (for example, through the worker's name). If you have an idea how this can be implemented, we can discuss it.
Sorry for the late reply. I understand what you mean and I also think that can be done. Maybe this is something I can find the time to do. I will have a look into that.
PS: I can see that you have released a version 0.10 - which changes does that include?
Hi Alexey
First of all thank you for implementing the worker library.
I am currently evaluating it, and I have a question. I would like to be able to use multiple workers with different configurations (number of workers). Would the following be a valid use of the worker library:
`
`
Would this result in 2 workers - the first with only one worker count and only getting external tasks for the topic "sayHello" for task handler SayHalloHandler.
And a second worker with worker count 4 only getting external tasks for topic "sayHelloGuest" for task handler SayHelloGuestHandler?
If so, how are the TaskHandlers added using AddTaskHandler() tied to the worker?
Thanks.
BR
Michael
The text was updated successfully, but these errors were encountered: