-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
producer: bugfix for aggregators getting stuck
In circumstances where Flush.Messages and/or Flush.Bytes were set but Flush.Frequency was not, the producer's aggregator could get stuck on a retry because a metadata-only chaser message would not be enough on its own to trigger a flush, and so it would sit in limbo forever. Always trigger a flush in the aggregator when the message is a chaser. This has the additional benefit of reducing retry latency when Flush.Frequency *is* set. Add a test for this case.
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 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