Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
1
Description
The partition assignment algorithm inĀ `com.couchbase.connect.kafka.util.Config` tries to minimize the number of DCP connections to Couchbase, but it doesn't matter much in the end since the DCP client connects to all nodes anyway.
A deployment where the number of connector tasks is not a multiple of the number of Couchbase KV nodes will have an uneven partition assignment, with some of the tasks handling more partitions than others.
It's probably better to evenly distribute the partitions among the connector tasks.