0

In spring-cloud, when Zuul is set to scan all the services registered in Eureka, am I right to say that it creates a load-balancer context dynamically for each serviceId/vipAddress/virtualHostname?

When this load-balancer-context will be disposed (safely)? Is it when all the instances of a service gets de-registered from Eureka ?

Ahamed Mustafa M
  • 3,069
  • 1
  • 24
  • 34

1 Answers1

0

The ApplicationContext's created by SpringClientFactory are closed when the SpringClientFactory.destroy() lifecycle method is called.

spencergibb
  • 24,471
  • 6
  • 69
  • 75