i’m currently using the camunda-external-task-client-java for my worker projects.
My goal would be to subscribe to multiple topics, using only one long-polling http request-
Sadly
taskClient.subscribe(“topic1,topic2”) does not work for me.
A single topic works fine.
Any Ideas to subscribe to multiple topics without using mutiple http connections?
I would prefer to use the camunda-external-task-client-java, instead of using the REST API directly.
Can you confirm, that if we do so, it will result one long polling http connection for every topic?
Edit: After diving into the implementation of the camunda-external-task-client-java i noticed that my assumption (1 subscription = 1 connection) was wrong.
The TopicSubscriptionManager.class seem to handle all that perfectly, so exactly the solution i am looking for!