All Questions
Kafka medium

How does the Kafka Group Coordinator distinguish between a 'slow processing' consumer and a 'dead' consumer instance?

  1. A It pings the consumer's IP address every 10 seconds to check for OS-level responsiveness.
  2. B It uses two separate timeouts: `session.timeout.ms` monitors the heartbeat thread (connection health), while `max.poll.interval.ms` monitors the actual message processing frequency (application health).
  3. C It checks the consumer's CPU usage via the Prometheus JMX exporter.
  4. D It requires the Consumer to send a 'Finish' signal after every single message batch.

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

Get the app

Related questions