Open lidd opened 6 years ago
for application.properties file, you can do the following setting:
eureka.validateInstanceId=false
eureka.shouldFetchRegistry=false
eureka.registration.enabled=false
eureka.preferSameZone=false
As mentioned here
Yes, it is totally possible.You have to use @EnableZuulProxy on your config class and config it something like this :
zuul: routes: yourService: path: /yourService/** serviceId: yourService ribbon: eureka: enabled: false yourService: ribbon: listOfServers: localhost:8080
Actually the EnableZuulProxy annotation is a springism where the spring-cloud-netflix project will not be adopting zuul2. Instead there is reference in another issue here on the Netflix/zuul project that references having a status routing file to be "similar to spring".
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.
I have my own discovery service, so is there any possible to use zuul2 without eureka?