Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Reactive Redis Client for healthcheck #12833

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

machi1990
Copy link
Member

Follows up #12781 (comment)

/cc @gsmet

for (InstanceHandle<ReactiveRedisClient> handle : Arc.container()
.select(ReactiveRedisClient.class, Any.Literal.INSTANCE).handles()) {
String clientName = getClientName(handle.getBean());
reactiveClients.put(clientName == null ? DEFAULT_CLIENT : clientName, handle.get());
Copy link
Member

Choose a reason for hiding this comment

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

So we're not exactly on par with the MongoDB impl here where the name of the default reactive client is different?

Copy link
Member Author

@machi1990 machi1990 Oct 22, 2020

Choose a reason for hiding this comment

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

My reason was to produce healthcheck status for each individual redis client without caring much whether that was done with a reactive client or a blocking one (as it does not matter much).

Copy link
Member

Choose a reason for hiding this comment

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

I think we should be consistent but that can probably be done in another PR.

Merging.

@machi1990 machi1990 requested a review from gsmet October 23, 2020 15:38
@machi1990 machi1990 force-pushed the review-redis-healthcheck branch from 7ada742 to 3c43871 Compare October 24, 2020 12:46
@gsmet gsmet merged commit 31bae03 into quarkusio:master Oct 26, 2020
@gsmet gsmet added this to the 1.10 - master milestone Oct 26, 2020
@machi1990 machi1990 deleted the review-redis-healthcheck branch October 26, 2020 19:14
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.

2 participants