Closed YumiSuki closed 3 months ago
I faced with same error. Does current zuul version zuul load balancing backends works without Eureka?
@kirillovsky it should work without any problem. I saw there is a discussion at Routing without using Eureka service discovery
@YumiSuki , yes, it should work, but actually (in zuul 2.3.0) looks like it doesn't work. But it worked fine without eurika in 2.1.6 (i checked). And i faced with this error exactly after update zuul from 2.1.6 to 2.3.0
@carl-mastrangelo @artgon @argha-c Anyone help please us?
I believe the issue is with using ConfigurationBasedServerList
as the ribbon load balancer. The 2.3.0
refactor to decouple Zuul's discovery from ribbon's load balancing, chooses to enforces a stricter type constraint.
If you intend to use the configuration based props file, suggested workaround would be to implement an adapter similar to com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList, with the server list supplied by the config file.
Sorry about the inconvenience.
@argha-c thanks a lot for the answer. I will try to use this workaround
@argha-c Thanks. Replacing ConfigurationBasedServerList with a custom adapter worked.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
I have tried setting up project using the latest zuul version 2.3.0 and zuul-example and got some error when run,
Here is the error that I got:
Bootstrap.java
SampleServerStartup.java
ZuulSampleModule.java
application.properties
I have tried search everywhere but couldn't find any solution. Any idea how to make it working please?