Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note, performance tests are being done to show the improvements with the proposed changes. Results to follow. Added to section Benchmark results.

Proposed Changes

This KIP proposes to make new leader information available in the ProduceResponse and FetchResponse when a newer leader is known by the receiving broker. This should help us eliminate the metadata refresh from the critical path of the Produce and Fetch requests, which can be very latency-sensitive. This is an optimization mentioned in KIP-595, which uses a similar technique but only for the metadata log and the Fetch RPC.

...