Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HealthEndpointGroupMembershipValidator does not consider reactive health indicators causing NoSuchHealthContributorException to be thrown #48387

Closed
Closed
HealthEndpointGroupMembershipValidator does not consider reactive health indicators causing NoSuchHealthContributorException to be thrown#48387
Assignees
Labels
type: regressionA regression from a previous release
Milestone

Description

Spring Boot 4.0.0

I tried to add the ReactiveMongoHealthIndicator to a health group (with management.endpoint.health.group.liveness.include: mongo)

The app won't start with NoSuchHealthContributorException error.

If I set management.endpoint.health.validate-group-membership to false, the app starts, but the HealthIndicator is not part of the health group.

I then debugged the HealthEndpointGroupMembershipValidator and saw, that only non reactive HealthIndicator are included.

I was able to temporarily fix it, by defining a normal MongoHealthIndicator bean.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions