Skip to content

Document how to register a blocking health contributor with the reactive registry #19707

@kkocel

Description

@kkocel

In order to add my custom health indicator I injected HealthContributorRegistry and then registered my contributor.
I did this because I saw that HealthContributorRegistry was autoconfigured (required for HealthEndpoint)

Later on I've found that my custom contributor was not present - I realized that ReactiveHealthContributorRegistry was used instead.

I wonder if it would be feasible to update ReactiveHealthContributorRegistry when HealthContributorRegistry is being updated.

Current setup seems to be unintuitive - there are no clear guidelines what should be configured and how reactive parts interact with traditional ones.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions