If I only have a single consumer group deployed in a single server.
How many consumer instances should I assign to this consumer group?
Let's say I have 10 partitions for a topic.
But I have below config for my hardware in this server.
Thread(s) per core: 1
Core(s) per socket: 2
Should I set 10(based on partitions) or 2(based on threads) consumer instances?
@Alvin Jin - what is your kafka cluster size ? could you explain - how did you arrive the partition number ?
set num.io.threads to at least no.of disks
Please find below document for your reference
The Kafka cluster is 5 nodes.
However, we only deploy our consumer app in a single server rather than in a distributed way.
So I was wondering if this consumer app is a customer group, how many consumer should we set for it? based on threads of the machine?