Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.51k stars 2.38k forks source link

maxSemaphores per route in Zuul #297

Closed vasandharaj closed 7 years ago

vasandharaj commented 7 years ago

In Zuul, we are using the default isolation strategy (semaphore) with out eureka. I have found that we can specify the maxSemaphores like zuul.semaphore.maxSemaphores=10 from this issue (https://github.com/spring-cloud/spring-cloud-netflix/issues/1332). But this setting will affect all the services in the zuul.

Is it possible to specify the maxSemaphores per zuul route ?? For example, zuul.es.semaphore.maxSemaphores=10 for a specific route.

Please find the sample configuration below ribbon.eureka.enabled=false zuul.routes.es.path=/es/** zuul.routes.es.serviceId=es es.ribbon.listOfServers=XXXXXXXX

zuul.routes.search.path=/search/** zuul.routes.search.serviceId=search search.ribbon.listOfServers=XXXXXX

We are using spring cloud netflix 1.2.3 in our production

spencergibb commented 7 years ago

Spring Cloud questions/issues aren't appropriate for this repository

vasandharaj commented 7 years ago

@spencergibb: I Closed it and please find the same in the below link

https://github.com/spring-cloud/spring-cloud-netflix/issues/1611