Repository navigation
Conversation
The scheduled task that sends event processor info rescheduled itself as its last statement. When building or sending the info of any processor threw an exception, the reschedule was skipped and the exception was swallowed by the ScheduledFuture. Because infoSupplierActive stayed true, registering a processor did not restart the task either. As a result the client silently stopped reporting processor status for that context until the application was restarted, while staying connected. Always reschedule in a finally block, and contain failures per processor so a failing supplier or send does not block the info of other processors. Failures are logged at WARN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BZwTrgqKzmmVjJ8cntDa1R
Replace the hand-written awaitUntil polling helper with Awaitility and add it as a test dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BZwTrkRHzpYUvni9BgWFew
smcvb
self-requested a review
November 20, 2026 12:48
smcvb
approved these changes
Nov 20, 2026
smcvb
left a comment
Contributor
There was a problem hiding this comment.
LGTM! The build isn't happy though
MGathier
enabled auto-merge
November 20, 2026 12:58
MGathier
disabled auto-merge
November 20, 2026 12:58
…bEndToEndTest. Cleanup waitForContextsCondition
MGathier
deleted the
fix/processor-info-scheduler-stops-on-exception-2025.1.x
branch
November 23, 2026 06:59
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport of #534 to
connector-2025.1.x.Problem
ControlChannelImpl.sendScheduledProcessorInfo()reschedules itself as its last statement. If building or sending the info of any processor throws (a failingSupplier<EventProcessorInfo>, oronNextthrowingIllegalStateExceptionbecause a reconnect completed the outbound stream), the reschedule is skipped and the exception is lost in the unobservedScheduledFuture. The client then stops reporting event processor status for that context until the application restarts.Fix
finallyblock, so the loop always continues.Backport notes
Cherry-picked both commits from #534. The only conflict was in
pom.xml: this branch keeps its own dependency versions, and only the Awaitility test dependency (4.2.2) was added.Tests
ControlChannelImplProcessorInfoTestpasses (3/3). Unit tests (!*IntegrationTest) pass apart from the tests that need Docker (DcbEndToEndTest,ETChannelTest), which couldn't run locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01BZwTrkRHzpYUvni9BgWFew