0

We use Eureka discovery and have multiple services running inside docker behind Zuul.

Our Turbine service, also behind Zuul, is unable to connect to the service instance if the service has a context-path set.

The url path is created in SpringClusterMonitor using the host and port but without any context-path.

Is it possible to add this functionality or override the SpringClusterMonitor as a bean?

g00glen00b
  • 41,995
  • 13
  • 95
  • 133
CobraFlow
  • 150
  • 2
  • 9

1 Answers1

1

Check this answer.

If your 'context-path's are different for services, then you should have config like this:

turbine:
  aggregator:
    clusterConfig: SERVICE1,SERVICE2,SERVICE3
  appConfig: SERVICE1,SERVICE2,SERVICE3
  instanceUrlSuffix:
    SERVICE1: /service1/hystrix.stream
    SERVICE2: /service2/hystrix.stream
    SERVICE3: /service3/hystrix.stream
Community
  • 1
  • 1
Mavlarn
  • 3,807
  • 2
  • 37
  • 57