Skip to content

Document that the discovery locator needs a ReactiveDiscoveryClient - #4353

Open
anqorithm wants to merge 1 commit into
spring-cloud:mainfrom
anqorithm:docs/reactive-discovery-client
Open

anqorithm wants to merge 1 commit into
spring-cloud:mainfrom
anqorithm:docs/reactive-discovery-client

Conversation

@anqorithm

Copy link
Copy Markdown

Fixes #2148

The docs say a DiscoveryClient implementation is enough, but GatewayDiscoveryClientAutoConfiguration only builds the locator from a ReactiveDiscoveryClient. A blocking client on its own never gets called, as the issue shows.

This changes the wording on that page and notes that the locator isn't created when spring.cloud.discovery.reactive.enabled is false.

I left the property prefixes alone because #4090 already updates them. Both PRs touch the "To enable this" line, so whichever merges second will need a small rebase.

Docs only. I checked the wording against the auto-configuration, but I didn't build the docs site.

Fixes spring-cloudgh-2148

Signed-off-by: anqorithm <61029571+anqorithm@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

Update discovery client route definitionlocator documentation to use ReactiveDiscoveryClient

2 participants