fix(sqs): keep RealtimeTrigger polling on transient errors#741
Draft
Malaydewangan09 wants to merge 6 commits into
Draft
fix(sqs): keep RealtimeTrigger polling on transient errors#741Malaydewangan09 wants to merge 6 commits into
Malaydewangan09 wants to merge 6 commits into
Conversation
A single transient error from receiveMessage terminated the polling Flux, leaving the trigger enabled but silently dead. It now logs the error and keeps polling with a capped backoff, applies serdeType to emitted messages, awaits message deletion, and renders properties once per run.
Contributor
📦 Artifacts
🛡 TrivyVulnerability in:
|
| Vulnerability | Severity | Package | Installed Version | Fixed Version |
|---|---|---|---|---|
| CVE-2026-42583 | HIGH | io.netty:netty-codec-compression | 4.2.12.Final | 4.2.13.Final |
| CVE-2026-42584 | HIGH | io.netty:netty-codec-http | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-42587 | HIGH | io.netty:netty-codec-http | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-41417 | MEDIUM | io.netty:netty-codec-http | 4.2.12.Final | 4.1.133.Final, 4.2.13.Final |
| CVE-2026-42580 | MEDIUM | io.netty:netty-codec-http | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-42581 | MEDIUM | io.netty:netty-codec-http | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-42585 | MEDIUM | io.netty:netty-codec-http | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-42587 | HIGH | io.netty:netty-codec-http2 | 4.2.12.Final | 4.2.13.Final, 4.1.133.Final |
| CVE-2026-47244 | MEDIUM | io.netty:netty-codec-http2 | 4.2.12.Final | 4.2.15.Final, 4.1.135.Final |
| CVE-2026-44249 | HIGH | io.netty:netty-handler | 4.2.12.Final | 4.2.15.Final, 4.1.135.Final |
| CVE-2026-45416 | HIGH | io.netty:netty-handler | 4.2.12.Final | 4.2.15.Final, 4.1.135.Final |
🧪 Java Unit Tests
| Tests | Passed ✅ | Skipped | Failed | Time ⏱ | |
|---|---|---|---|---|---|
| Java Tests Report | 130 ran | 128 ✅ | 2 | 0 ❌ | 7m 15s 959ms |
🔁 Unreleased Commits
2 commits since v2.6.3
| SHA | Title | Author | Date |
|---|---|---|---|
88ed536 |
chore(deps): bump com.gradleup.shadow from 9.4.1 to 9.4.2 (#729) | dependabot[bot] | Jun 10, 26, 6:54:59 AM UTC |
c8fa42a |
chore(deps): bump io.floci:testcontainers-floci from 2.8.0 to 2.9.0 (#734) | dependabot[bot] | Jun 10, 26, 7:12:24 AM UTC |
Contributor
Tests report quick summary:success ✅ > tests: 130, success: 128, skipped: 2, failed: 0 unfold for details
|
…ling Address review on the RealtimeTrigger resilience change: - delete each message in the same per-message loop; a delete failure logs and continues (at-least-once) instead of hitting the backoff path - classify fatal SqsException codes (bad creds, non-existent queue) and fail the trigger visibly instead of retrying forever - never signal complete() after error() on the sink - drop invalid dynamic=true on Message.data (now Object) and document it - purge the queue in the publisher test; add transient-recovery and stop-during-backoff regression tests
Extract per-message emit/delete into a helper, deduplicate the test client setup, and remove comments that restate the code. No behavior change.
Inline single-use locals, flatten the Flux.create lambda nesting, collapse isFatal and the backoff sleep, drop now-unused imports. No behavior change.
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.
No description provided.