sdk-java
sdk-java copied to clipboard
Allow dynamic creation and shutdown of workers
Is your feature request related to a problem? Please describe. In some situations, users may have dynamic task queues.
Describe the solution you'd like To support this use case without a huge overhead we should allow starting and stopping of individual workers without the need to recreate the whole WorkersFactory
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context A related Slack discussion: https://temporalio.slack.com/archives/CTRCR8RBP/p1652713381216549 A related task that should be approached together with this one: https://github.com/temporalio/sdk-java/issues/966