All Questions
Kafka medium

Modern Kafka stores consumer bookmarks (offsets) in an internal compacted topic. What is the technical name and rationale for this topic?

  1. A `_consumer_history`: it provides a searchable audit log for legal compliance.
  2. B `consumer_cache`: it is stored purely in RAM to maximize speed.
  3. C `__consumer_offsets`: Storing state within Kafka itself provides better scalability and durability than legacy methods (like ZooKeeper), while compaction ensures only the latest bookmark per consumer is kept.
  4. D `system_offsets`: to allow the Producers to know exactly where the consumers are.

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

Get the app

Related questions