{"action":"created","issue":{"url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/67","labels_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/67/comments","events_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/67/events","html_url":"https://github.com/confluentinc/kafka-rest/pull/67","id":62456694,"number":67,"title":"Handle conflicting IDs and separate IDs used in the REST proxy and by Ka...","user":{"login":"ewencp","id":47366,"avatar_url":"https://avatars.githubusercontent.com/u/47366?v=3","gravatar_id":"","url":"https://api.github.com/users/ewencp","html_url":"https://github.com/ewencp","followers_url":"https://api.github.com/users/ewencp/followers","following_url":"https://api.github.com/users/ewencp/following{/other_user}","gists_url":"https://api.github.com/users/ewencp/gists{/gist_id}","starred_url":"https://api.github.com/users/ewencp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewencp/subscriptions","organizations_url":"https://api.github.com/users/ewencp/orgs","repos_url":"https://api.github.com/users/ewencp/repos","events_url":"https://api.github.com/users/ewencp/events{/privacy}","received_events_url":"https://api.github.com/users/ewencp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T16:51:02Z","updated_at":"2015-03-18T18:42:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/confluentinc/kafka-rest/pulls/67","html_url":"https://github.com/confluentinc/kafka-rest/pull/67","diff_url":"https://github.com/confluentinc/kafka-rest/pull/67.diff","patch_url":"https://github.com/confluentinc/kafka-rest/pull/67.patch"},"body":"...fka's consumer implementation.\r\n\r\nAdd a check for duplicate IDs before creating a consumer and adding it to the\r\nmap in ConsumerManager. Also add a \"name\" field to ConsumerInstanceConfig to\r\nallow control over the naming of the instance config within the single REST\r\nproxy without setting the ID of the underlying Kafka consumer, since this can be\r\nuseful if a limited set of consumer instances within a group is desired. Update\r\nthe documentation to mark the \"id\" field as deprecated since it probably doesn't\r\nprovide the behavior users expect and without this fix it can cause problems if\r\nthe user ends up with duplicates. Kafka doesn't expect it to be used this way\r\nexcept for testing anyway. Also add the name field and update all the example\r\ncURL requests to use the recommended default where both \"id\" and \"name\" are\r\nomitted, and consumers are deleted properly when they are no longer needed.\r\n\r\nFixes #65.\r\n\r\n@junrao Maybe you could review this? I want to be especially careful here since this affects the existing API rather than just adding to it, so backwards compatibility is particularly important."},"comment":{"url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/comments/83116965","html_url":"https://github.com/confluentinc/kafka-rest/pull/67#issuecomment-83116965","issue_url":"https://api.github.com/repos/confluentinc/kafka-rest/issues/67","id":83116965,"user":{"login":"ewencp","id":47366,"avatar_url":"https://avatars.githubusercontent.com/u/47366?v=3","gravatar_id":"","url":"https://api.github.com/users/ewencp","html_url":"https://github.com/ewencp","followers_url":"https://api.github.com/users/ewencp/followers","following_url":"https://api.github.com/users/ewencp/following{/other_user}","gists_url":"https://api.github.com/users/ewencp/gists{/gist_id}","starred_url":"https://api.github.com/users/ewencp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewencp/subscriptions","organizations_url":"https://api.github.com/users/ewencp/orgs","repos_url":"https://api.github.com/users/ewencp/repos","events_url":"https://api.github.com/users/ewencp/events{/privacy}","received_events_url":"https://api.github.com/users/ewencp/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T18:42:39Z","updated_at":"2015-03-18T18:42:39Z","body":"retest this please"}}