{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/291","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/291/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-config/issues/291/events","html_url":"https://github.com/spring-cloud/spring-cloud-config/issues/291","id":119453664,"number":291,"title":"Config Client Fail Fast not working when using Eureka First Bootstrap","user":{"login":"codependent","id":6399869,"avatar_url":"https://avatars.githubusercontent.com/u/6399869?v=3","gravatar_id":"","url":"https://api.github.com/users/codependent","html_url":"https://github.com/codependent","followers_url":"https://api.github.com/users/codependent/followers","following_url":"https://api.github.com/users/codependent/following{/other_user}","gists_url":"https://api.github.com/users/codependent/gists{/gist_id}","starred_url":"https://api.github.com/users/codependent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codependent/subscriptions","organizations_url":"https://api.github.com/users/codependent/orgs","repos_url":"https://api.github.com/users/codependent/repos","events_url":"https://api.github.com/users/codependent/events{/privacy}","received_events_url":"https://api.github.com/users/codependent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T09:39:12Z","updated_at":"2015-11-30T09:39:12Z","closed_at":null,"body":"I am working with Spring Cloud Netflix microservices so my service is configured to use Eureka first bootstrap to locate the config server. According to the doc we could configure a fail fast option to prevent the services from starting when the Config Server is not available. \r\n\r\nApparently this doesn't work with Eureka clients, any reason for it?\r\n\r\nbootstrap.yml:\r\n```\r\nspring:\r\n  application:\r\n    name: random-image-microservice\r\n  cloud:\r\n    config:\r\n      discovery:\r\n        enabled: true\r\n    failFast: true\r\n        \r\nserver:\r\n  port: 9999\r\n\r\neureka:\r\n  client:\r\n    serviceUrl:\r\n      defaultZone: http://localhost:8761/eureka/\r\n    healthcheck:\r\n      enabled: true```\r\n\r\nThe failFast property isn't even considered as we can see In `DiscoveryClientConfigServiceBootstrapConfiguration`, where there's only log.warn:\r\n```\r\nprivate void refresh() {\r\n\t\ttry {\r\n                     ...\r\ncatch (Exception ex) {\r\n\t\t\tlog.warn(\"Could not locate configserver via discovery\", ex);\r\n\t\t}```"}}