{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/240","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/240/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/240/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/240","id":59657985,"number":240,"title":"Feign : Reuse RibbonLoadBalancer","user":{"login":"stephaneLeroy","id":3093080,"avatar_url":"https://avatars.githubusercontent.com/u/3093080?v=3","gravatar_id":"","url":"https://api.github.com/users/stephaneLeroy","html_url":"https://github.com/stephaneLeroy","followers_url":"https://api.github.com/users/stephaneLeroy/followers","following_url":"https://api.github.com/users/stephaneLeroy/following{/other_user}","gists_url":"https://api.github.com/users/stephaneLeroy/gists{/gist_id}","starred_url":"https://api.github.com/users/stephaneLeroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephaneLeroy/subscriptions","organizations_url":"https://api.github.com/users/stephaneLeroy/orgs","repos_url":"https://api.github.com/users/stephaneLeroy/repos","events_url":"https://api.github.com/users/stephaneLeroy/events{/privacy}","received_events_url":"https://api.github.com/users/stephaneLeroy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T15:32:29Z","updated_at":"2015-03-05T19:39:29Z","closed_at":"2015-03-05T19:39:29Z","body":"A bug was pointed on Feign Ribbon integration https://github.com/Netflix/feign/issues/182\r\nRibbon does not expect multiple [RibbonLoadBalancer](http://github.com/spring-cloud/spring-cloud-netflix/blob/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/RibbonLoadBalancer.java) (IClient/AbstractLoadBalancerAwareClient) instances for the same client.\r\n\r\nspring-cloud-netflix seems to have the same bug (WARN  c.n.servo.jmx.JmxMonitorRegistry - Unable to register Monitor::MonitorConfig{name= ...). \r\nFeign Ribbon integration was first corrected [by adding cache on FeignRibbonClient.lbclient() method](https://github.com/bstick12/feign/commit/cd93277f5e843f1c0965f9d1dea79a40fad17c3c) to check if a client exists before creating a new one."}}