-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[event-hubs] adds loadBalancingOptions and greedy load balancing stra…
…tegy (#9706) * [event-hubs] adds EventHubConsumerClientOptions * fix conflicts from rebase * refactor load balancer to get all claimable partitions * add balanced and greedy load balancer strategies * add unbalancedLoadBalancingStrategy * update pumpManager to expose receivingFromPartitions * updates EventProcessor to use LoadBalancingStrategies * add tests for the partitionOwnershipExpirationIntervalInMs * add functional load balancing tests * update docs * update version to 5.3.0-preview.1 * add changelog * update pnpm-lock * address feedback * add explicity existance check to partitionOwnership.lastModifiedTimeInMs * trashing -> thrashing * be smarter about else-if statements * explain the magic number 6 * identifyPartitionsToClaim -> getPartitionsToClaim * identifyClaimablePartitions -> listAvailablePartitions * add better summary for EventHubConsumerClientOptions * add better docs around greedy and balanced strategies * remove superfluous doc from CommonEventProcessorOptions * add comment around why we have abandoned partitions * throw AbortError instead of silent return * remove unneeded receivingFrom method * update pnpm-lock.yaml * rush update
- Loading branch information
Showing
19 changed files
with
2,276 additions
and
904 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.