Skip to content

spring-cloud-loadbalancer: refetching of instances does not work when repeated health checking is enabled #899

@rchigvintsev

Description

@rchigvintsev

spring-cloud-loadbalancer-3.0.0

When health checking is enabled (property spring.cloud.loadbalancer.configurations is set to health-check) and it is repeated (property spring.cloud.loadbalancer.health-check.repeat-health-check is set to true) HealthCheckServiceInstanceListSupplier is not able to refetch service instances (property spring.cloud.loadbalancer.health-check.refetch-instances is set to true): instance providing Flux is executed only once.

Possible solution is to call .repeatWhen right after Flux.defer(delegate) in the constructor of HealthCheckServiceInstanceListSupplier.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions