Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to Spring Web Flux with Eureka and Spring Cloud Gateway #26435

Closed
germanicus9 opened this issue Jun 15, 2024 · 2 comments
Closed

Migration to Spring Web Flux with Eureka and Spring Cloud Gateway #26435

germanicus9 opened this issue Jun 15, 2024 · 2 comments

Comments

@germanicus9
Copy link

germanicus9 commented Jun 15, 2024

Hi,

I saw that for migration to Spring Webflux I should get rid of Zuul and Ribbon and replace them with Spring Cloud Gateway for routing and load-balancing.
Where are microservices registered? Because they can be found on jhipster-registry and Spring Cloud Gateway as well.

In a new generated jhipster app I have:
image
What is this TokenRelay, is somewhere implemented?

image
Even that RouteLocator and DiscoveryClient are underlined in red (cannot find the beans), seems to work. Is this a common false alarm?

Thank you!

@mshima
Copy link
Member

mshima commented Jun 19, 2024

Where are microservices registered?

Registering is done by spring-boot.

What is this TokenRelay, is somewhere implemented?

TokenRelay filter is provided by spring-cloud-gateway.

Is this a common false alarm?

If it’s working is false positive.

This should be posted in stackoverflow to have a broader spring-boot users audience.

@mshima mshima closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2024
@mraible mraible added this to the 8.6.0 milestone Jun 24, 2024
@germanicus9
Copy link
Author

Thank you @mshima.
Just a quick comment:
microservices are register by Eureka.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants