{"action":"created","issue":{"url":"https://api.github.com/repos/oleksiyk/kafka/issues/73","repository_url":"https://api.github.com/repos/oleksiyk/kafka","labels_url":"https://api.github.com/repos/oleksiyk/kafka/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/oleksiyk/kafka/issues/73/comments","events_url":"https://api.github.com/repos/oleksiyk/kafka/issues/73/events","html_url":"https://github.com/oleksiyk/kafka/issues/73","id":157951530,"number":73,"title":"Connection time limit","user":{"login":"aheckmann-pebble","id":17771180,"avatar_url":"https://avatars.githubusercontent.com/u/17771180?v=3","gravatar_id":"","url":"https://api.github.com/users/aheckmann-pebble","html_url":"https://github.com/aheckmann-pebble","followers_url":"https://api.github.com/users/aheckmann-pebble/followers","following_url":"https://api.github.com/users/aheckmann-pebble/following{/other_user}","gists_url":"https://api.github.com/users/aheckmann-pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/aheckmann-pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheckmann-pebble/subscriptions","organizations_url":"https://api.github.com/users/aheckmann-pebble/orgs","repos_url":"https://api.github.com/users/aheckmann-pebble/repos","events_url":"https://api.github.com/users/aheckmann-pebble/events{/privacy}","received_events_url":"https://api.github.com/users/aheckmann-pebble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-01T16:31:13Z","updated_at":"2016-07-14T19:09:13Z","closed_at":null,"body":"When a misconfigured connection string is pushed to production, I'd like to know about it as soon as I can. After reaching some configurable time threshold, I'd like this driver to `reject` attempts to connect to Kafka. Currently this driver will keep retrying forever, silently swallowing connection failure.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/oleksiyk/kafka/issues/comments/232762627","html_url":"https://github.com/oleksiyk/kafka/issues/73#issuecomment-232762627","issue_url":"https://api.github.com/repos/oleksiyk/kafka/issues/73","id":232762627,"user":{"login":"aheckmann-pebble","id":17771180,"avatar_url":"https://avatars.githubusercontent.com/u/17771180?v=3","gravatar_id":"","url":"https://api.github.com/users/aheckmann-pebble","html_url":"https://github.com/aheckmann-pebble","followers_url":"https://api.github.com/users/aheckmann-pebble/followers","following_url":"https://api.github.com/users/aheckmann-pebble/following{/other_user}","gists_url":"https://api.github.com/users/aheckmann-pebble/gists{/gist_id}","starred_url":"https://api.github.com/users/aheckmann-pebble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheckmann-pebble/subscriptions","organizations_url":"https://api.github.com/users/aheckmann-pebble/orgs","repos_url":"https://api.github.com/users/aheckmann-pebble/repos","events_url":"https://api.github.com/users/aheckmann-pebble/events{/privacy}","received_events_url":"https://api.github.com/users/aheckmann-pebble/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T19:09:13Z","updated_at":"2016-07-14T19:09:13Z","body":"Emitting an event when unable to connect after a configurable n attempts sounds like it could meet our needs. FWIW, this general problem space has been solved before within the NodeJS mongodb driver as well (connection timeouts, cluster changes, reconnection events, etc)"}}
{"actor":{"display_login":"aheckmann-pebble"}}