Zuul2: Routing without using Eureka service discovery
See original GitHub issueHello,
We want to use Zuul without service discovery, for instance, defining properties such as zuul.routes.books.url = http://localhost:8090/books
, and routing accordingly with a custom filter. But, I can’t figure out how to disable eureka and perform routing via custom filters. zuul-core
has dependencies to ribbon-eureka
and eureka-client
, and disabling eureka seems impossible to me.
Is it possible? OR Are you considering to release a zuul-without-eureka?
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Can Zuul Edge Server be used without Eureka / Ribbon
Yes, it is totally possible.You have to use @EnableZuulProxy on your config class and config it something like this : zuul: routes: ...
Read more >There Is No Zuul, Only Eureka: Zero-Touch Zuul Routing
With this change alone, the route defined in the service will be accessible by Zuul, but we still need to configure Zuul to...
Read more >An Example of Load Balancing with Zuul and Eureka - Baeldung
In this article, we'll look at how load balancing works with Zuul and Eureka. We'll route requests to a REST Service discovered by...
Read more >8. Router and Filter: Zuul - Spring Cloud
the Zuul starter does not include a discovery client, so, for routes based on service IDs, you need to provide one of those...
Read more >Service Discovery With Eureka and Zuul - DZone Microservices
We will demonstrate a small Zuul application. It will register with a Eureka server and automatically set up dynamic routing based on other ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you, it works.
My configuration (
application.properties
) is below, in the case someone else needs it:And inside
Routes.apply()
method (Routes
is anHttpInboundSyncFilter
included in the sample):@BigSully, @artgon hi! Could you help please - why is it doesn’t work if url with multiple subdomains? Like this: test.s3-us-west-2.amazonaws.com:80
I see 301 Permanent redirect.