-
Notifications
You must be signed in to change notification settings - Fork 628
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HLC rebalance issues and add tests (#423)
* Add rebalance test * Add test involving fourth child * move children rearer out * Add more tests, updated rearer to kill randomly * Add another test for the case of rebalancing of unassigned HLCs * Fix HLC issue where rebalance does not happen if the consumer has not been assigned any partitions Fixed issue where a rebalance can happen during closing * Calling close on HLC will release owned partitions and unregister itself from the consumer group * Fix CONNECTION_LOSS error when zk is closed before leaving group * Improve stableness of rebalance tests * Add zk test for unregistering a consumer from the group
- Loading branch information
Showing
9 changed files
with
1,034 additions
and
498 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
Oops, something went wrong.