{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/69","repository_url":"https://api.github.com/repos/zendesk/ruby-kafka","labels_url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/69/comments","events_url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/69/events","html_url":"https://github.com/zendesk/ruby-kafka/issues/69","id":133274761,"number":69,"title":"individual exceptions for connect timeouts / socket wait timeouts","user":{"login":"mrkamel","id":165645,"avatar_url":"https://avatars.githubusercontent.com/u/165645?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkamel","html_url":"https://github.com/mrkamel","followers_url":"https://api.github.com/users/mrkamel/followers","following_url":"https://api.github.com/users/mrkamel/following{/other_user}","gists_url":"https://api.github.com/users/mrkamel/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkamel/subscriptions","organizations_url":"https://api.github.com/users/mrkamel/orgs","repos_url":"https://api.github.com/users/mrkamel/repos","events_url":"https://api.github.com/users/mrkamel/events{/privacy}","received_events_url":"https://api.github.com/users/mrkamel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-12T15:52:26Z","updated_at":"2016-02-13T06:55:38Z","closed_at":"2016-02-13T06:55:38Z","body":"Hi again,\r\n\r\nquestion:\r\n\r\nwhen i fetch messages, i regularly get a \"connection timed out\" after 10 seconds filling up my logfile. Increasing `max_wait_time` doesn't help because it's the connect/socket timeouts firing.\r\nSure, i could increase these timeout values, but when i plug off power from my kafka node, my client will timeout later than i'd like it to. So, what i'd really want is to know whether the timeout occurred while connecting/sending the fetch messages request to kafka or while waiting for messages. However, currently it seems i get a `Errno::ETIMEDOUT` for all cases. Maybe it's possible to subclass `Errno::ETIMEDOUT` for the individual cases of ConnectTimeout, ReadTimeout, WriteTimeout?"},"comment":{"url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/comments/183612213","html_url":"https://github.com/zendesk/ruby-kafka/issues/69#issuecomment-183612213","issue_url":"https://api.github.com/repos/zendesk/ruby-kafka/issues/69","id":183612213,"user":{"login":"mrkamel","id":165645,"avatar_url":"https://avatars.githubusercontent.com/u/165645?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkamel","html_url":"https://github.com/mrkamel","followers_url":"https://api.github.com/users/mrkamel/followers","following_url":"https://api.github.com/users/mrkamel/following{/other_user}","gists_url":"https://api.github.com/users/mrkamel/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkamel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkamel/subscriptions","organizations_url":"https://api.github.com/users/mrkamel/orgs","repos_url":"https://api.github.com/users/mrkamel/repos","events_url":"https://api.github.com/users/mrkamel/events{/privacy}","received_events_url":"https://api.github.com/users/mrkamel/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T06:55:38Z","updated_at":"2016-02-13T06:55:38Z","body":"let's skip this for now, lowering max_wait_time below the socket timeout will probably be fine."}}