-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This actually showed that OnNewBatch should not be a required method on the Partitioner interface but instead should be an optional extension. If it is required, then every message published to round robin goes to a new batch: - partition on 1? - no, new batch - partition on 2 - inc to 3 All partitioning starts on odd partitions, then completes on even. Removing OnNewBatch gets us to true round robin. Closes #66.
- Loading branch information
Showing
2 changed files
with
46 additions
and
7 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