Skip to content

Making optional the creation of health indicators for routing datasources #22151

@juliojgd

Description

@juliojgd

Hi, does it make sense to add a HealthIndicator with a fixed outcome? (always UNKNOWN).
I mean, would'n it be better to allow the user to choose to not create a HealthIndicator for this type of Datasources (AbstractRoutingDataSource)?
I feel the important information is if any of the routed datasources is Ok or not. If you configured the datasources as beans there will be HealthIndicator's for them, making useless a fixed status value from the routing one.

I am thinking of a new property allowing to exclude the creation of HeatlhIndicator's for AbstractRoutingDataSource ones.

Do you think it would be useful? Thanks in advance for reading.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions