CCDAK · Question #77
You have a consumer group of 12 consumers and when a consumer gets killed by the process management system, rather abruptly, it does not trigger a graceful shutdown of your consumer. Therefore, it…
The correct answer is B. Decrease session.timeout.ms E. increase max.poll.interval.ms. session.timeout.ms must be decreased to 3 seconds to allow for a faster rebalance, and the heartbeat thread must be quicker, so we also need to decrease heartbeat.interval.ms
Question
You have a consumer group of 12 consumers and when a consumer gets killed by the process management system, rather abruptly, it does not trigger a graceful shutdown of your consumer. Therefore, it takes up to 10 seconds for a rebalance to happen. The business would like to have a 3 seconds rebalance time. What should you do? (select two)
Options
- AIncrease session.timeout.ms
- BDecrease session.timeout.ms
- CIncrease heartbeat.interval.ms
- Ddecrease max.poll.interval.ms
- Eincrease max.poll.interval.ms
- FDecrease heartbeat.interval.ms
How the community answered
(62 responses)- A23% (14)
- B55% (34)
- C3% (2)
- D13% (8)
- F6% (4)
Explanation
session.timeout.ms must be decreased to 3 seconds to allow for a faster rebalance, and the heartbeat thread must be quicker, so we also need to decrease heartbeat.interval.ms
Topics
Community Discussion
No community discussion yet for this question.