Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-10337: await async commits in commitSync even if no offsets given
The contract for commitSync() guarantees that the callbacks for all prior async commits will be invoked before it (successfully?) returns. Prior to this change the contract could be violated if an empty offsets map were passed in to commitSync(). Co-authored-by: Erik van Oosten <e.vanoosten@grons.nl> Co-authored-by: Philip Nee <philipnee@gmail.com>
- Loading branch information
1 parent
6f19730
commit e4ba315
Showing
2 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters