{"action":"created","issue":{"url":"https://api.github.com/repos/apache/kafka/issues/103","labels_url":"https://api.github.com/repos/apache/kafka/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/apache/kafka/issues/103/comments","events_url":"https://api.github.com/repos/apache/kafka/issues/103/events","html_url":"https://github.com/apache/kafka/pull/103","id":98601881,"number":103,"title":"KAFKA-2397: leave group request","user":{"login":"onurkaraman","id":529976,"avatar_url":"https://avatars.githubusercontent.com/u/529976?v=3","gravatar_id":"","url":"https://api.github.com/users/onurkaraman","html_url":"https://github.com/onurkaraman","followers_url":"https://api.github.com/users/onurkaraman/followers","following_url":"https://api.github.com/users/onurkaraman/following{/other_user}","gists_url":"https://api.github.com/users/onurkaraman/gists{/gist_id}","starred_url":"https://api.github.com/users/onurkaraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onurkaraman/subscriptions","organizations_url":"https://api.github.com/users/onurkaraman/orgs","repos_url":"https://api.github.com/users/onurkaraman/repos","events_url":"https://api.github.com/users/onurkaraman/events{/privacy}","received_events_url":"https://api.github.com/users/onurkaraman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-02T11:00:08Z","updated_at":"2015-10-16T08:27:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/kafka/pulls/103","html_url":"https://github.com/apache/kafka/pull/103","diff_url":"https://github.com/apache/kafka/pull/103.diff","patch_url":"https://github.com/apache/kafka/pull/103.patch"},"body":"Let's say every consumer in a group has session timeout s. Currently, if a consumer leaves the group, the worst case time to stabilize the group is 2s (s to detect the consumer failure + s for the rebalance window). If a consumer instead can declare they are leaving the group, the worst case time to stabilize the group would just be the s associated with the rebalance window.\r\n\r\nThis is a low priority optimization!"},"comment":{"url":"https://api.github.com/repos/apache/kafka/issues/comments/148651574","html_url":"https://github.com/apache/kafka/pull/103#issuecomment-148651574","issue_url":"https://api.github.com/repos/apache/kafka/issues/103","id":148651574,"user":{"login":"onurkaraman","id":529976,"avatar_url":"https://avatars.githubusercontent.com/u/529976?v=3","gravatar_id":"","url":"https://api.github.com/users/onurkaraman","html_url":"https://github.com/onurkaraman","followers_url":"https://api.github.com/users/onurkaraman/followers","following_url":"https://api.github.com/users/onurkaraman/following{/other_user}","gists_url":"https://api.github.com/users/onurkaraman/gists{/gist_id}","starred_url":"https://api.github.com/users/onurkaraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onurkaraman/subscriptions","organizations_url":"https://api.github.com/users/onurkaraman/orgs","repos_url":"https://api.github.com/users/onurkaraman/repos","events_url":"https://api.github.com/users/onurkaraman/events{/privacy}","received_events_url":"https://api.github.com/users/onurkaraman/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T08:27:47Z","updated_at":"2015-10-16T08:27:47Z","body":"Thanks for the review, @guozhangwang.\r\n\r\nFor 1), I was planning on putting the client changes in a separate PR but it makes no difference to me. I'll add in the client changes in the next update to this PR.\r\n\r\nFor 2), it sounded like you were trying to describe a scenario where the leave group request kicks out the wrong member or incorrect generation of a member of a group, but I didn't quite get the scenario. Can you describe it step-by-step?"}}