{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/sarama/issues/222","labels_url":"https://api.github.com/repos/Shopify/sarama/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/sarama/issues/222/comments","events_url":"https://api.github.com/repos/Shopify/sarama/issues/222/events","html_url":"https://github.com/Shopify/sarama/pull/222","id":51363445,"number":222,"title":"Rewrite consumer to support multiple partitions","user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars.githubusercontent.com/u/1706826?v=3","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-12-08T22:46:12Z","updated_at":"2015-02-13T19:45:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Shopify/sarama/pulls/222","html_url":"https://github.com/Shopify/sarama/pull/222","diff_url":"https://github.com/Shopify/sarama/pull/222.diff","patch_url":"https://github.com/Shopify/sarama/pull/222.patch"},"body":"- `Consumer` is now a much lighter \"manager\" that spawns `PartitionConsumer`s\r\n  instead. `PartitionConsumer`s behave and have an API almost exactly like the\r\n  old `Consumer`.\r\n- Automatically groups and redispatches PartitionConsumers when leadership moves\r\n  in the cluster.\r\n\r\nAs with the producer-ng, this is effectively a rewrite and (with the exception of the changes to functional_test.go) should be reviewed wholesale rather than by diff.\r\n\r\n@mkobetic @snormore @wvanbergen @yagnik @drdee and anyone else who cares, this is ready to be looked at whenever is convenient. Thoughts on the API? Thoughts on the TODOs still sprinkled about?\r\n\r\nFixes #140 \r\nFixes #200 \r\nFixes #225 "},"comment":{"url":"https://api.github.com/repos/Shopify/sarama/issues/comments/74314415","html_url":"https://github.com/Shopify/sarama/pull/222#issuecomment-74314415","issue_url":"https://api.github.com/repos/Shopify/sarama/issues/222","id":74314415,"user":{"login":"eapache","id":1706826,"avatar_url":"https://avatars.githubusercontent.com/u/1706826?v=3","gravatar_id":"","url":"https://api.github.com/users/eapache","html_url":"https://github.com/eapache","followers_url":"https://api.github.com/users/eapache/followers","following_url":"https://api.github.com/users/eapache/following{/other_user}","gists_url":"https://api.github.com/users/eapache/gists{/gist_id}","starred_url":"https://api.github.com/users/eapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eapache/subscriptions","organizations_url":"https://api.github.com/users/eapache/orgs","repos_url":"https://api.github.com/users/eapache/repos","events_url":"https://api.github.com/users/eapache/events{/privacy}","received_events_url":"https://api.github.com/users/eapache/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T19:45:10Z","updated_at":"2015-02-13T19:45:10Z","body":"> If not, can we at least both call them Message?\r\n\r\nThey can't have the same name, but we could call them `ProducerMessage` and `ConsumerMessage` I guess...?"}}