{"action":"created","issue":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/14","labels_url":"https://api.github.com/repos/edenhill/librdkafka/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/edenhill/librdkafka/issues/14/comments","events_url":"https://api.github.com/repos/edenhill/librdkafka/issues/14/events","html_url":"https://github.com/edenhill/librdkafka/issues/14","id":17208379,"number":14,"title":"librdkafka 0.8 can not produce messages when the leader of the topic partition failed","user":{"login":"zbweng","id":2350768,"avatar_url":"https://avatars.githubusercontent.com/u/2350768?v=3","gravatar_id":"","url":"https://api.github.com/users/zbweng","html_url":"https://github.com/zbweng","followers_url":"https://api.github.com/users/zbweng/followers","following_url":"https://api.github.com/users/zbweng/following{/other_user}","gists_url":"https://api.github.com/users/zbweng/gists{/gist_id}","starred_url":"https://api.github.com/users/zbweng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbweng/subscriptions","organizations_url":"https://api.github.com/users/zbweng/orgs","repos_url":"https://api.github.com/users/zbweng/repos","events_url":"https://api.github.com/users/zbweng/events{/privacy}","received_events_url":"https://api.github.com/users/zbweng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"edenhill","id":524990,"avatar_url":"https://avatars.githubusercontent.com/u/524990?v=3","gravatar_id":"","url":"https://api.github.com/users/edenhill","html_url":"https://github.com/edenhill","followers_url":"https://api.github.com/users/edenhill/followers","following_url":"https://api.github.com/users/edenhill/following{/other_user}","gists_url":"https://api.github.com/users/edenhill/gists{/gist_id}","starred_url":"https://api.github.com/users/edenhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenhill/subscriptions","organizations_url":"https://api.github.com/users/edenhill/orgs","repos_url":"https://api.github.com/users/edenhill/repos","events_url":"https://api.github.com/users/edenhill/events{/privacy}","received_events_url":"https://api.github.com/users/edenhill/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/edenhill/librdkafka/milestones/1","html_url":"https://github.com/edenhill/librdkafka/milestones/0.8.0","labels_url":"https://api.github.com/repos/edenhill/librdkafka/milestones/1/labels","id":294995,"number":1,"title":"0.8.0","description":"Kafka protocol 0.8 support","creator":{"login":"edenhill","id":524990,"avatar_url":"https://avatars.githubusercontent.com/u/524990?v=3","gravatar_id":"","url":"https://api.github.com/users/edenhill","html_url":"https://github.com/edenhill","followers_url":"https://api.github.com/users/edenhill/followers","following_url":"https://api.github.com/users/edenhill/following{/other_user}","gists_url":"https://api.github.com/users/edenhill/gists{/gist_id}","starred_url":"https://api.github.com/users/edenhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenhill/subscriptions","organizations_url":"https://api.github.com/users/edenhill/orgs","repos_url":"https://api.github.com/users/edenhill/repos","events_url":"https://api.github.com/users/edenhill/events{/privacy}","received_events_url":"https://api.github.com/users/edenhill/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"closed","created_at":"2013-03-24T09:46:35Z","updated_at":"2013-12-08T18:46:34Z","due_on":"2013-06-16T07:00:00Z","closed_at":"2013-12-08T18:46:34Z"},"comments":19,"created_at":"2013-07-25T12:24:41Z","updated_at":"2015-12-04T07:04:01Z","closed_at":"2013-08-31T10:06:47Z","body":"Hi, Magnus.\r\nI find that librdkafka 0.8 can not produce messages to the kafka brokers when the leader of the topic partition failed. After I check the new leader is elected, the problem is not yet solved.\r\nI use the rdkafka_example.c in the example folder and create a topic with 3 replicas and 1 partition.\r\nAfter I restart the producer (rdkafka_example.c, I use it as a producer), the problem is solved.\r\nI am not sure whether it is a bug for librdkafka 0.8.\r\nThanks."},"comment":{"url":"https://api.github.com/repos/edenhill/librdkafka/issues/comments/161894977","html_url":"https://github.com/edenhill/librdkafka/issues/14#issuecomment-161894977","issue_url":"https://api.github.com/repos/edenhill/librdkafka/issues/14","id":161894977,"user":{"login":"mazharshaikh86","id":13219197,"avatar_url":"https://avatars.githubusercontent.com/u/13219197?v=3","gravatar_id":"","url":"https://api.github.com/users/mazharshaikh86","html_url":"https://github.com/mazharshaikh86","followers_url":"https://api.github.com/users/mazharshaikh86/followers","following_url":"https://api.github.com/users/mazharshaikh86/following{/other_user}","gists_url":"https://api.github.com/users/mazharshaikh86/gists{/gist_id}","starred_url":"https://api.github.com/users/mazharshaikh86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mazharshaikh86/subscriptions","organizations_url":"https://api.github.com/users/mazharshaikh86/orgs","repos_url":"https://api.github.com/users/mazharshaikh86/repos","events_url":"https://api.github.com/users/mazharshaikh86/events{/privacy}","received_events_url":"https://api.github.com/users/mazharshaikh86/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T07:04:01Z","updated_at":"2015-12-04T07:04:01Z","body":"broker.id=0;\r\nbroker.id is same in broker1 and broker2 (server.properties). Only change is in \"advertised.host.name\""}}