{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/213","repository_url":"https://api.github.com/repos/confluentinc/kafka-rest","labels_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/213/comments","events_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/213/events","html_url":"https://github.com/confluentinc/kafka-rest/issues/213","id":160652648,"number":213,"title":"consumer group problem","user":{"login":"nathan-zhu","id":1650457,"avatar_url":"https://avatars.githubusercontent.com/u/1650457?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-zhu","html_url":"https://github.com/nathan-zhu","followers_url":"https://api.github.com/users/nathan-zhu/followers","following_url":"https://api.github.com/users/nathan-zhu/following{/other_user}","gists_url":"https://api.github.com/users/nathan-zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-zhu/subscriptions","organizations_url":"https://api.github.com/users/nathan-zhu/orgs","repos_url":"https://api.github.com/users/nathan-zhu/repos","events_url":"https://api.github.com/users/nathan-zhu/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-zhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-16T12:45:16Z","updated_at":"2016-06-18T03:28:14Z","closed_at":null,"body":"Hi, follow this like [#211](https://github.com/confluentinc/kafka-rest/issues/211)\r\n\r\ni try to get consumer group to test, will keep the instances keep alive, \r\n\r\n`  curl -X POST -H \"Content-Type: application/vnd.kafka.v1+json\" \r\n--data '{\"name\": \"consumer_1\", \"format\": \"json\", \"auto.offset.reset\": \"smallest\",\"auto.commit.enable\": \"false\"}' \r\nhttp://10.216.90.225:8082/consumers/testgroup/`\r\n`   curl -X POST -H \"Content-Type: application/vnd.kafka.v1+json\" \r\n--data '{\"name\": \"consumer_2\", \"format\": \"json\", \"auto.offset.reset\": \"smallest\",\"auto.commit.enable\": \"false\"}' \r\nhttp://10.216.90.225:8082/consumers/testgroup/`\r\n\r\nall message default assign to partition0 test it working well , but after default 5 minutes all instances get destroy again. \r\n\r\n` curl -X GET -H \"Accept: application/vnd.kafka.json.v1+json\" http://10.216.90.225:8082/consumers/testgroup/instances/consumer_1/topics/test1\r\n{\"error_code\":40403,\"message\":\"Consumer instance not found.\"}%`\r\n\r\ni try to revive the instance i recreate same consumer again. \r\n\r\n`  curl -X POST -H \"Content-Type: application/vnd.kafka.v1+json\" \r\n--data '{\"name\": \"consumer_1\", \"format\": \"json\", \"auto.offset.reset\": \"smallest\",\"auto.commit.enable\": \"false\"}' \r\nhttp://10.216.90.225:8082/consumers/testgroup`\r\n\r\ni get all message from beginning again. i'm newer for kafka, should i do other way to get it working?\r\n\r\nplease help me ,thanks.\r\n"},"comment":{"url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/comments/226919162","html_url":"https://github.com/confluentinc/kafka-rest/issues/213#issuecomment-226919162","issue_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/213","id":226919162,"user":{"login":"nathan-zhu","id":1650457,"avatar_url":"https://avatars.githubusercontent.com/u/1650457?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-zhu","html_url":"https://github.com/nathan-zhu","followers_url":"https://api.github.com/users/nathan-zhu/followers","following_url":"https://api.github.com/users/nathan-zhu/following{/other_user}","gists_url":"https://api.github.com/users/nathan-zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-zhu/subscriptions","organizations_url":"https://api.github.com/users/nathan-zhu/orgs","repos_url":"https://api.github.com/users/nathan-zhu/repos","events_url":"https://api.github.com/users/nathan-zhu/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-zhu/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T03:28:14Z","updated_at":"2016-06-18T03:28:14Z","body":"@ewencp after add auto.commit.enable=true and recreate instance working well for single or group consumers. \r\nanother question, is there can assign partition during create topic with api? i didn't found document for it. \r\n\r\nif not support should i do it with command line then use it?"}}
{"actor":{"display_login":"nathan-zhu"}}