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)
A. Increase session.timeout.ms
B. Decrease session.timeout.ms
C. Increase heartbeat.interval.ms
D. decrease max.poll.interval.ms
E. increase max.poll.interval.ms
F. Decrease heartbeat.interval.ms
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