Versions Compared

Key

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

...

The following figure illustrates the above phases. The red circles are the potential points of timeout.

Gliffy Diagram
kip19
namekip19gliffy

 

Change in KAFKA-2805 (to handle cluster outages)

...

Gliffy Diagram
namenewtimeout


 

An earlier revision of this doc suggested that we could allow the batch.expiry.ms to span the inflight phase as well. As Becket pointed out on the slack channel, this won't work because a request would contain batches from multiple partitions. One expiring batch should not cause the other batches to expire, and it is too inefficient to surgically remove the expired batch for the subsequent retry. Unfortunately this means the new timeout is looking more and more like an explicit accumulator timeout.

...