All Questions
Kafka hard

A Consumer application is heartbeating successfully, but the logs show frequent 'Rebalancing' events. The application team suspects a 'Livelock'. Which parameter should they investigate?

  1. A `retry.backoff.ms`: the time between individual network retries.
  2. B `max.poll.interval.ms`: if the business logic for processing a single batch of records exceeds this limit, the broker assumes the consumer is hung and evicts it, even if heartbeats are healthy.
  3. C `message.max.bytes`: the physical size limit of a single event in the partition.
  4. D `num.network.threads`: the number of background threads used for TCP handling.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions