Skip to content

Fix #172 - Introduce Flow Durable Kubernetes module#188

Open
ricardozanini wants to merge 15 commits intoquarkiverse:mainfrom
ricardozanini:issue-172
Open

Fix #172 - Introduce Flow Durable Kubernetes module#188
ricardozanini wants to merge 15 commits intoquarkiverse:mainfrom
ricardozanini:issue-172

Conversation

@ricardozanini
Copy link
Member

@ricardozanini ricardozanini commented Feb 4, 2026

Closes #172

In this PR:

Introduce a new durable-kubernetes module responsible to coordinate Lease objects in-cluster to guarantee safe Workflow Application IDs across pod restarts, disruption, drain, etc. This is REQUIRED for use case persistence for the Quarkus Flow application deployed on Kubernetes.

Reviewers, please check the documentation and example to understand more in-depth the concepts behind it before checking the code.

This module introduces the operator pattern to Quarkus Flow. We are not building a whole custom Kubernetes operator for the project just yet. This requirement is simple enough and doesn't add a large footprint to the user's application; it's just a small scheduler querying a cached k8s API resource.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

🚀 PR Preview 740ee7d has been successfully built and deployed to https://quarkiverse-flow-pr-188-preview.surge.sh

@ricardozanini ricardozanini force-pushed the issue-172 branch 2 times, most recently from 2c1dbc2 to 893bca0 Compare February 10, 2026 17:28
@ricardozanini ricardozanini force-pushed the issue-172 branch 2 times, most recently from 0414843 to b8c1b37 Compare February 17, 2026 15:16
@ricardozanini ricardozanini removed the ⚠️ DO NOT MERGE DO NOT MERGE THIS PR! label Feb 24, 2026
@ricardozanini ricardozanini marked this pull request as ready for review February 24, 2026 00:22
@ricardozanini ricardozanini requested a review from a team as a code owner February 24, 2026 00:22
@ricardozanini
Copy link
Member Author

@fjtirado @mcruzdev

@wmedvede @domhanak I think you will find this one interesting.

@gmunozfe once we have this and #254 the benchmark tests will be much more robust

@ricardozanini
Copy link
Member Author

@quarkiverse/quarkiverse-flow-triage team I'm waiting for reviews :)

Copy link
Member

@mcruzdev mcruzdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks great @ricardozanini.

I left a few comments!

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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Durable Workflows (Durable Execution + Recovery on Kubernetes)

2 participants