feat: Add resilient, non-blocking realm registration for Token Status plugin#70
Merged
Conversation
forkimenjeckayang
requested changes
Mar 30, 2026
forkimenjeckayang
left a comment
Collaborator
There was a problem hiding this comment.
A few concerns to check @Awambeng
Also for CustomHttpClient.java StatusListConfig.java
The new defaults (retry=1, timeout=30s) are reasonable for startup robustness, but this client is reused in runtime request paths too. Can we split startup vs runtime HTTP policies (or make retry configurable) to avoid increasing tail latency for user-facing flows?
WDYT?
IngridPuppet
requested changes
Apr 2, 2026
IngridPuppet
left a comment
Collaborator
There was a problem hiding this comment.
I left some comments. Please could you check?
4fd276f to
2c5075d
Compare
… cooldown, and increase default HTTP client retry count and issuance timeout for enhanced robustness Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
…ies table Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
2c5075d to
b0ee497
Compare
…plicitly pass retry counts Signed-off-by: Awambeng Rodrick <awambengrodrick@gmail.com>
forkimenjeckayang
approved these changes
Apr 13, 2026
forkimenjeckayang
left a comment
Collaborator
There was a problem hiding this comment.
No further concerns
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.
This PR improves the reliability and performance of realm registration in the Keycloak Token Status Plugin by making it asynchronous, non-blocking, and more fault-tolerant.
Key Improvements
Non-blocking registration
Self-healing behavior
Improved network resilience
Stability fixes
For more details see: https://adorsys.atlassian.net/wiki/x/2IoXl
Closes #69