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.
|For Gerrit Dashboard: KAFKAC-209
|KAFKAC-209 Source: Couchbase partition assignment creates unbalanced workloads