CCDAK · Question #194
You have a consumer group with default configuration settings reading messages from your Kafka cluster. You need to optimize throughput so the consumer group processes more messages in the same…
The correct answer is B. Increase the number of bytes the consumers read with each fetch request. Increasing the number of bytes consumers read with each fetch request allows them to process more messages per poll, thereby increasing overall throughput.
Question
You have a consumer group with default configuration settings reading messages from your Kafka cluster. You need to optimize throughput so the consumer group processes more messages in the same amount of time. Which change should you make to increase the consumption throughput?
Options
- ARemove some consumers from the consumer group.
- BIncrease the number of bytes the consumers read with each fetch request.
- CDisable auto commit and having the consumers manually commit offsets.
- DDecrease the session timeout of each consumer.
How the community answered
(32 responses)- A9% (3)
- B81% (26)
- C3% (1)
- D6% (2)
Explanation
Increasing the number of bytes consumers read with each fetch request allows them to process more messages per poll, thereby increasing overall throughput.
Topics
Community Discussion
No community discussion yet for this question.