-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[event-hubs] adds loadBalancingOptions and greedy load balancing strategy #9706
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
faad867
[event-hubs] adds EventHubConsumerClientOptions
chradek daa5920
fix conflicts from rebase
chradek 6b1e029
refactor load balancer to get all claimable partitions
chradek 13cb669
add balanced and greedy load balancer strategies
chradek 5a0a56e
add unbalancedLoadBalancingStrategy
chradek aed4006
update pumpManager to expose receivingFromPartitions
chradek c3656e2
updates EventProcessor to use LoadBalancingStrategies
chradek f2205b8
add tests for the partitionOwnershipExpirationIntervalInMs
chradek ed1ff3b
add functional load balancing tests
chradek 793d95d
update docs
chradek d5f15e5
update version to 5.3.0-preview.1
chradek 961795e
add changelog
chradek 41202b5
update pnpm-lock
chradek dc03b06
address feedback
chradek f67b005
add explicity existance check to partitionOwnership.lastModifiedTimeInMs
chradek 82828f1
trashing -> thrashing
chradek 9a97ab4
be smarter about else-if statements
chradek 0a6a354
explain the magic number 6
chradek ceb7c9a
identifyPartitionsToClaim -> getPartitionsToClaim
chradek 62add8a
identifyClaimablePartitions -> listAvailablePartitions
chradek a313b66
add better summary for EventHubConsumerClientOptions
chradek 5bb4827
add better docs around greedy and balanced strategies
chradek 2420c2b
remove superfluous doc from CommonEventProcessorOptions
chradek f203204
add comment around why we have abandoned partitions
chradek e1a9fdb
throw AbortError instead of silent return
chradek 12c3cd6
remove unneeded receivingFrom method
chradek 7d84e15
Merge remote-tracking branch 'upstream/master' into eh-load-balance-v2
chradek c2c31a7
update pnpm-lock.yaml
chradek ea14b6e
Merge remote-tracking branch 'upstream/master' into eh-load-balance-v2
chradek db43e37
rush update
chradek 52e3e0d
Merge remote-tracking branch 'upstream/master' into eh-load-balance-v2
chradek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is 6 * updateIntervalInMs better than 60000 if a user passes in only updateIntervalInMs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. In the API review, we specifically did not want to default the
partitionOwnershipExpirationIntervalIsMs
by some multiple of theupdateIntervalInMs