{"action":"created","issue":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/373","labels_url":"https://api.github.com/repos/edenhill/librdkafka/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/edenhill/librdkafka/issues/373/comments","events_url":"https://api.github.com/repos/edenhill/librdkafka/issues/373/events","html_url":"https://github.com/edenhill/librdkafka/issues/373","id":107158835,"number":373,"title":"rdkafka stopping connection retries on RdKafka::ERR__ALL_BROKERS_DOWN","user":{"login":"DEvil0000","id":3344302,"avatar_url":"https://avatars.githubusercontent.com/u/3344302?v=3","gravatar_id":"","url":"https://api.github.com/users/DEvil0000","html_url":"https://github.com/DEvil0000","followers_url":"https://api.github.com/users/DEvil0000/followers","following_url":"https://api.github.com/users/DEvil0000/following{/other_user}","gists_url":"https://api.github.com/users/DEvil0000/gists{/gist_id}","starred_url":"https://api.github.com/users/DEvil0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEvil0000/subscriptions","organizations_url":"https://api.github.com/users/DEvil0000/orgs","repos_url":"https://api.github.com/users/DEvil0000/repos","events_url":"https://api.github.com/users/DEvil0000/events{/privacy}","received_events_url":"https://api.github.com/users/DEvil0000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T08:48:58Z","updated_at":"2015-09-18T14:32:40Z","closed_at":null,"body":"rdkafka is trying to connect to all brokers in the list, if they all fail I get a event_cb (ERR__ALL_BROKERS_DOWN) but no more connection attempts are done..\r\nI would expect rdkafka to report it but still try to connect to the brokers.\r\nIn case you do not think this should be the default behaviour I would suggest a config value for retry after all brokers down..."},"comment":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/comments/141470122","html_url":"https://github.com/edenhill/librdkafka/issues/373#issuecomment-141470122","issue_url":"https://api.github.com/repos/edenhill/librdkafka/issues/373","id":141470122,"user":{"login":"edenhill","id":524990,"avatar_url":"https://avatars.githubusercontent.com/u/524990?v=3","gravatar_id":"","url":"https://api.github.com/users/edenhill","html_url":"https://github.com/edenhill","followers_url":"https://api.github.com/users/edenhill/followers","following_url":"https://api.github.com/users/edenhill/following{/other_user}","gists_url":"https://api.github.com/users/edenhill/gists{/gist_id}","starred_url":"https://api.github.com/users/edenhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenhill/subscriptions","organizations_url":"https://api.github.com/users/edenhill/orgs","repos_url":"https://api.github.com/users/edenhill/repos","events_url":"https://api.github.com/users/edenhill/events{/privacy}","received_events_url":"https://api.github.com/users/edenhill/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T14:32:40Z","updated_at":"2015-09-18T14:32:40Z","body":"librdkafka should try connecting to all brokers it knows about forever:\r\nhttps://github.com/edenhill/librdkafka/blob/master/src/rdkafka_broker.c#L4216\r\n\r\nWhat it does do is suppress log messages of failed connection attempts if the error is the same as the last attempt (e.g., Connection refused), so maybe that is what you are seeing (or not seeing), lack of log messages?\r\n\r\nAs soon as brokers start coming back up it should reconnect to them within a couple of seconds."}}