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

Provide support for client partition reassignment handlers #869

Closed
dpcollins-google opened this issue Sep 9, 2021 · 0 comments · Fixed by #886
Closed

Provide support for client partition reassignment handlers #869

dpcollins-google opened this issue Sep 9, 2021 · 0 comments · Fixed by #886
Labels
api: pubsublite Issues related to the googleapis/java-pubsublite API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@dpcollins-google
Copy link
Collaborator

We should support client partition reassignment handlers to allow clients to react to lost assignments.

It would be a nice to have if messages on partitions being assigned away could call nack() without needing to install a custom handler.

@product-auto-label product-auto-label bot added the api: pubsublite Issues related to the googleapis/java-pubsublite API. label Sep 9, 2021
@meredithslota meredithslota added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Sep 14, 2021
gcf-merge-on-green bot pushed a commit that referenced this issue Sep 16, 2021
#886)

This enables clients to respond to a reassignment by cancelling outstanding actions and nacking all messages.

Fixes #869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the googleapis/java-pubsublite API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants