What is the difference between 10 consumer consumption segments in kafka and 11 consumer consumption segments in 20 segments, which is faster?

as the question: what is the difference between 10 consumer consumption segments and 11 consumer consumption segments in kafka, which is faster?

May.13,2022

10 consumers with 10 partitions, then 10 consumers are all valid. One consumer corresponds to one partition, which can be regarded as concurrency 10, while 11 consumers have 20 partitions, and the number of partitions is larger than the number of consumers. So some consumers will consume multiple partitions, but in any case, 11 consumers are effective, concurrency is 11, in theory, concurrency 11 must be faster than 10

.
Menu