title: Using Hystrix Stream in Zuul with Eureka First to find Config server
body: <p>I'm using spring cloud Brixton.M4 with spring boot 1.3.1</p>
  
  <p>I have zuul server with </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-netflix-hystrix-stream&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
          &lt;artifactId&gt;spring-cloud-starter-stream-rabbit&lt;/artifactId&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>and i'm using Eureka first to find Config-Server so bootstrap looks like</p>
  
  <pre><code>spring:
   profiles: dev 
   cloud:
     config:
       fail-fast: true
       discovery:
         enabled: true
         serviceId: config-server
  </code></pre>
  
  <p>zuul is registring two time first with <strong>UP</strong> state then with <strong>STARTING</strong> </p>
  
  <pre><code>2016-01-18 14:47:27.209  INFO 2808 --- [           main] c.w.i.edgeserver.EdgeServerApplication   : Started EdgeServerApplication in 21.651 seconds (JVM running for 22.232)
  2016-01-18 14:47:56.231  INFO 2808 --- [ool-20-thread-1] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_EDGE-SERVER/192.168.17.178:edge-server:8003 - Re-registering apps/EDGE-SERVER
  2016-01-18 14:47:56.270  INFO 2808 --- [ool-20-thread-1] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_EDGE-SERVER/192.168.17.178:edge-server:8003: registering service...
  2016-01-18 14:47:56.281  INFO 2808 --- [ool-20-thread-1] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_EDGE-SERVER/192.168.17.178:edge-server:8003 - registration status: 204
  2016-01-18 14:48:06.230  INFO 2808 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_EDGE-SERVER/192.168.17.178:edge-server:8003: registering service...
  2016-01-18 14:48:06.238  INFO 2808 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_EDGE-SERVER/192.168.17.178:edge-server:8003 - registration status: 204
  </code></pre>
  
  <p>If I remove dependency on config-server by setting</p>
  
  <pre><code>spring:
   profiles: dev 
   cloud:
     config:
       fail-fast: false
       discovery:
         enabled: false
         serviceId: config-server
  </code></pre>
  
  <p>everything runs fine.</p>