Can we control number of consumers in a consumer group through code in Kafka?

Viewed 14

Can we control the number of consumers in a consumer group through code in Kstream application?

In my application, I have 8 instances with 20 threads each, how many consumers will be created in my consumer group?

     Kafka topic partitions = 480

Will it be 8 instances * 20 threads = 160 consumers?

0 Answers
Related