Resilient Task Orchestrator Example#512
Merged
ricardozanini merged 12 commits intoMay 11, 2026
Merged
Conversation
|
🙈 The PR is closed and the preview is expired. |
3c02963 to
1298ca4
Compare
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1298ca4 to
23ef26c
Compare
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
mcruzdev
approved these changes
May 8, 2026
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.
An educational example demonstrating event-driven task choreography patterns using Quarkus Flow and Kafka.
What It Demonstrates
Event-Driven Choreography: A coordinator workflow decomposes a build pipeline into independent tasks (lint, test, build, deploy) and emits events. Each task is handled by a separate workflow instance that executes, retries on failure, and emits completion events.
Idempotent Phase Execution: Tasks are divided into phases (e.g., compile → package → verify). Completed phases are tracked and skipped on retry, allowing safe resume from the exact failure point.
Automatic Retry: Failed tasks retry up to 5 times. The retry logic properly returns FAILED status instead of throwing exceptions, allowing the workflow to continue through the retry loop.
Pattern: Saga Choreography - tasks communicate via events rather than direct orchestration, providing fault isolation and independent scaling.
Use Case
Build pipeline orchestration where: