{"action":"created","issue":{"url":"https://api.github.com/repos/apache/kafka/issues/4492","repository_url":"https://api.github.com/repos/apache/kafka","labels_url":"https://api.github.com/repos/apache/kafka/issues/4492/labels{/name}","comments_url":"https://api.github.com/repos/apache/kafka/issues/4492/comments","events_url":"https://api.github.com/repos/apache/kafka/issues/4492/events","html_url":"https://github.com/apache/kafka/pull/4492","id":292996786,"number":4492,"title":"KAFKA-6499: Do not write offset checkpoint file with empty offset map","user":{"login":"guozhangwang","id":10729597,"avatar_url":"https://avatars0.githubusercontent.com/u/10729597?v=4","gravatar_id":"","url":"https://api.github.com/users/guozhangwang","html_url":"https://github.com/guozhangwang","followers_url":"https://api.github.com/users/guozhangwang/followers","following_url":"https://api.github.com/users/guozhangwang/following{/other_user}","gists_url":"https://api.github.com/users/guozhangwang/gists{/gist_id}","starred_url":"https://api.github.com/users/guozhangwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guozhangwang/subscriptions","organizations_url":"https://api.github.com/users/guozhangwang/orgs","repos_url":"https://api.github.com/users/guozhangwang/repos","events_url":"https://api.github.com/users/guozhangwang/events{/privacy}","received_events_url":"https://api.github.com/users/guozhangwang/received_events","type":"User","site_admin":false},"labels":[{"id":820747028,"url":"https://api.github.com/repos/apache/kafka/labels/streams","name":"streams","color":"63edea","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-01-31T01:12:03Z","updated_at":"2018-02-01T18:19:53Z","closed_at":"2018-02-01T18:11:30Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/kafka/pulls/4492","html_url":"https://github.com/apache/kafka/pull/4492","diff_url":"https://github.com/apache/kafka/pull/4492.diff","patch_url":"https://github.com/apache/kafka/pull/4492.patch"},"body":"* In Checkpoint.write(), if the offset map passed in is empty, skip the writing of the file which would only contain version number and the empty size. From the reading pov, it is the same as no file existed.\r\n\r\n* Add related unit tests.\r\n\r\n* Minor fixes on log4j messages.\r\n\r\n### Committer Checklist (excluded from commit message)\r\n- [ ] Verify design and implementation \r\n- [ ] Verify test coverage and CI build status\r\n- [ ] Verify documentation (including upgrade notes)\r\n"},"comment":{"url":"https://api.github.com/repos/apache/kafka/issues/comments/362355605","html_url":"https://github.com/apache/kafka/pull/4492#issuecomment-362355605","issue_url":"https://api.github.com/repos/apache/kafka/issues/4492","id":362355605,"user":{"login":"guozhangwang","id":10729597,"avatar_url":"https://avatars0.githubusercontent.com/u/10729597?v=4","gravatar_id":"","url":"https://api.github.com/users/guozhangwang","html_url":"https://github.com/guozhangwang","followers_url":"https://api.github.com/users/guozhangwang/followers","following_url":"https://api.github.com/users/guozhangwang/following{/other_user}","gists_url":"https://api.github.com/users/guozhangwang/gists{/gist_id}","starred_url":"https://api.github.com/users/guozhangwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guozhangwang/subscriptions","organizations_url":"https://api.github.com/users/guozhangwang/orgs","repos_url":"https://api.github.com/users/guozhangwang/repos","events_url":"https://api.github.com/users/guozhangwang/events{/privacy}","received_events_url":"https://api.github.com/users/guozhangwang/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T18:19:53Z","updated_at":"2018-02-01T18:19:53Z","author_association":"CONTRIBUTOR","body":"Cherry-picked to 1.1. Thanks for the reviews."}}
{"actor":{"display_login":"guozhangwang"}}