All Questions
Kafka hard

How does the 'Fetch Session' (KIP-227) optimization reduce the metadata overhead for consumers reading from topics with thousands of partitions?

  1. A It switches the communication protocol from TCP to UDP for faster packet throughput.
  2. B Incremental Fetch Metadata: The client and broker maintain a stateful session where the client only sends the *changes* in its partition list (delta) rather than re-sending the full list of 1,000+ partition IDs in every single fetch request.
  3. C It eliminates the need for the consumer to provide an offset.
  4. D It allows consumers to read data directly from the OS Page Cache of a neighboring broker.

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

Get the app

Related questions