Versions Compared

Key

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

...

Add waitTimeMs in FetchResponse, and bump the FetchResponse and FetchRequest protocol version. 

Code Block
languagejava
FetchResponse => TransactionalId RequiredAcks Timeout [FetchableTopicResponse]
   ThrottleTimeMs => INT32
   WaitTimeMs => INT32  # Add a new field to record the request wait time in purgatory
   Timeout => INT32
   ErrorCode => INT16
   SessionId => INT32
   FetchableTopicResponse => [Name [FetchablePartitionResponse] PreferredReadReplica Records]
   ......

Proposed Changes

We like to propose to track the real end to end fetch latency with those changes:

...