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: safely completing doClose() #818

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

gtassone
Copy link
Contributor

@gtassone gtassone commented Aug 8, 2024

Ensure that doClose() completes and successfully transitions the StreamProcessor to CLOSED state. Unhandled exception during doClose() results in a degraded StreamProcessor with terminated control loop but stuck in RUNNING state.

This is critical to support accurate external monitoring of isClosedOrFailed() by user code.

see #809

Checklist

  • Documentation (if applicable)
  • Changelog

@gtassone gtassone requested a review from a team as a code owner August 8, 2024 17:21
Copy link

cla-assistant bot commented Aug 8, 2024

CLA assistant check
All committers have signed the CLA.

Fixes confluentinc#809

Co-authored-by: Roman Kolesnev <romankolesnev@gmail.com>
@rkolesnev
Copy link
Contributor

/sem-approve

@rkolesnev rkolesnev merged commit 5ce0b2f into confluentinc:master Aug 14, 2024
2 checks passed
wushilin added a commit to wushilin/parallel-consumer that referenced this pull request Aug 15, 2024
skl83 pushed a commit to skl83/parallel-consumer that referenced this pull request Sep 2, 2024
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.

2 participants