Correlation between topicmap and tasks.max CosmosDBSourceConnector properties #470
Unanswered
shivaprathipati
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@shivaprathipati we are investigating it and will get back to you soon. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looks like it's required to have tasks.max property to be set to a number that is at least equal to the number of containers in topicmap property.
For example, if the topic map is set to something like this "topic1#container1,topic2#container2,...,topic100#container100", tasks.max property needs to be set to 100. If tasks.max is set to anything less than 100, not all 100 containers will have a lease container created.
Is my understanding correct? If yes, this will mean a large Kafka Connect cluster is needed to support all the tasks. Is there a better/efficient way to handle change feeds of all containers in cosmos database with one or fewer number of tasks?
Beta Was this translation helpful? Give feedback.
All reactions