This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pluggable partition assignment strategies
This incorporates the round robin changes from #216 (a64a8be) and exposes the ability for users to implement their own partition assignor. The tests for the two assignors now match the Java consumer's, to validate that the behaviors match up as expected. Reviewing the previous tests, I _think_ all of the same scenarios are still covered, as well. Backwards compatibility is maintained by falling back to the value in `PartitionStrategy` if the `PartitionAssignor` is unset.
- Loading branch information
Showing
4 changed files
with
324 additions
and
274 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
Oops, something went wrong.