{"action":"created","issue":{"url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/161","repository_url":"https://api.github.com/repos/Blizzard/node-rdkafka","labels_url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/161/comments","events_url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/161/events","html_url":"https://github.com/Blizzard/node-rdkafka/issues/161","id":224432885,"number":161,"title":"Delivery report's offset is off by 1 ?","user":{"login":"edoardocomar","id":6661532,"avatar_url":"https://avatars2.githubusercontent.com/u/6661532?v=4","gravatar_id":"","url":"https://api.github.com/users/edoardocomar","html_url":"https://github.com/edoardocomar","followers_url":"https://api.github.com/users/edoardocomar/followers","following_url":"https://api.github.com/users/edoardocomar/following{/other_user}","gists_url":"https://api.github.com/users/edoardocomar/gists{/gist_id}","starred_url":"https://api.github.com/users/edoardocomar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edoardocomar/subscriptions","organizations_url":"https://api.github.com/users/edoardocomar/orgs","repos_url":"https://api.github.com/users/edoardocomar/repos","events_url":"https://api.github.com/users/edoardocomar/events{/privacy}","received_events_url":"https://api.github.com/users/edoardocomar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-04-26T11:19:20Z","updated_at":"2017-10-17T23:17:34Z","closed_at":"2017-10-17T23:17:34Z","author_association":"CONTRIBUTOR","body":"Hi\r\nif we start producing to an empty topic, the first delivery_report in node_rdkafka will have an offset of 1, and then the others follow from that.\r\n\r\nIf that first message is consumed, its offset is 0.\r\n\r\nThis mismatch does not appear in Java (0.10.2) or in librdkafka (0.94) where the first message has offset 0 both in a delivery report as well as in a consumed message.\r\n\r\n\r\nBehavior seen with both node_rdkafka 0.10.0 and 0.6.3\r\n"},"comment":{"url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/comments/337405481","html_url":"https://github.com/Blizzard/node-rdkafka/issues/161#issuecomment-337405481","issue_url":"https://api.github.com/repos/Blizzard/node-rdkafka/issues/161","id":337405481,"user":{"login":"webmakersteve","id":6353085,"avatar_url":"https://avatars2.githubusercontent.com/u/6353085?v=4","gravatar_id":"","url":"https://api.github.com/users/webmakersteve","html_url":"https://github.com/webmakersteve","followers_url":"https://api.github.com/users/webmakersteve/followers","following_url":"https://api.github.com/users/webmakersteve/following{/other_user}","gists_url":"https://api.github.com/users/webmakersteve/gists{/gist_id}","starred_url":"https://api.github.com/users/webmakersteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmakersteve/subscriptions","organizations_url":"https://api.github.com/users/webmakersteve/orgs","repos_url":"https://api.github.com/users/webmakersteve/repos","events_url":"https://api.github.com/users/webmakersteve/events{/privacy}","received_events_url":"https://api.github.com/users/webmakersteve/received_events","type":"User","site_admin":false},"created_at":"2017-10-17T23:17:34Z","updated_at":"2017-10-17T23:17:34Z","author_association":"COLLABORATOR","body":"I believe this is fixed in the new version of librdkafka released - so closing the issue. "}}
{"actor":{"display_login":"webmakersteve"}}