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

Fix nacking unhandled pubsub messages during shutdown #63

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

istreeter
Copy link
Contributor

The LowLevelSource maintains a list of what messages are in-flight but not yet acked. During graceful shutdown, it should nack everything in this list so that Pubsub can quickly re-send the messages to another pod. But because of a subtle bug, the pubsub Subscriber was getting shutdown before those messages got nacked.

The LowLevelSource maintains a list of what messages are in-flight but
not yet acked. During graceful shutdown, it should nack everything in
this list so that Pubsub can quickly re-send the messages to another
pod. But because of a subtle bug, the pubsub Subscriber was getting
shutdown before those messages got nacked.
@istreeter istreeter merged commit 91a3862 into develop Mar 18, 2024
1 check passed
@istreeter istreeter deleted the fix-nacking-unhandled branch March 18, 2024 09:27
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.

None yet

2 participants