nerdexam
Confluent

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

Developing Kafka Consumers

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)
  • A
    23% (14)
  • B
    55% (34)
  • C
    3% (2)
  • D
    13% (8)
  • F
    6% (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

#session.timeout.ms#rebalance#max.poll.interval.ms#consumer group

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice