Skip to content
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

feat: Java API for ExternalShardAllocationStrategy #1246

Merged
merged 6 commits into from
Apr 2, 2024

Conversation

Roiocam
Copy link
Member

@Roiocam Roiocam commented Apr 1, 2024

Motivation

ExternalShardAllocationStrategy doesn't have a Java API, users have to use pekko.util.TimeUnit rather than java.time.Duration

And the documentation also has an issue that doesn't specific AllocateStrategy, see: https://pekko.apache.org/docs/pekko/current/typed/cluster-sharding.html#external-shard-allocation

截屏2024-04-01 15 49 39

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, lgtm

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Roiocam Roiocam merged commit a11d403 into apache:main Apr 2, 2024
18 checks passed
@Roiocam Roiocam deleted the japi-shard-allocate branch April 2, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants