Versions Compared

Key

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

...

Discussion thread: Here

JIRA: KAFKA-7711 

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).PRKAFKA-7569

Motivation

Currently the call to Producer.flush() can be hang there for indeterminate time.

...

This API returns normally if flush succeed in time, i.e all previously sent records have completed ; otherwise if times out before finish sending all records, an InterruptException TimeoutException will be thrown.

Proposed Changes

...