{"action":"created","comment":{"url":"https://api.github.com/repos/optiopay/kafka/pulls/comments/25437005","id":25437005,"diff_hunk":"@@ -0,0 +1,726 @@\n+package kafka\n+\n+import (\n+\t\"errors\"\n+\t\"fmt\"\n+\t\"io/ioutil\"\n+\t\"log\"\n+\t\"math\"\n+\t\"sync\"\n+\t\"time\"\n+\n+\t\"github.com/husio/kafka/proto\"","path":"broker.go","position":12,"original_position":12,"commit_id":"38a34c9b81bc2d0505f1623ddb87d690994e294b","original_commit_id":"38a34c9b81bc2d0505f1623ddb87d690994e294b","user":{"login":"husio","id":1517,"avatar_url":"https://avatars.githubusercontent.com/u/1517?v=3","gravatar_id":"","url":"https://api.github.com/users/husio","html_url":"https://github.com/husio","followers_url":"https://api.github.com/users/husio/followers","following_url":"https://api.github.com/users/husio/following{/other_user}","gists_url":"https://api.github.com/users/husio/gists{/gist_id}","starred_url":"https://api.github.com/users/husio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husio/subscriptions","organizations_url":"https://api.github.com/users/husio/orgs","repos_url":"https://api.github.com/users/husio/repos","events_url":"https://api.github.com/users/husio/events{/privacy}","received_events_url":"https://api.github.com/users/husio/received_events","type":"User","site_admin":false},"body":"I can close this pull request, but I don't understand what you want me to do instead.","created_at":"2015-02-26T15:50:18Z","updated_at":"2015-02-26T15:50:18Z","html_url":"https://github.com/optiopay/kafka/pull/2#discussion_r25437005","pull_request_url":"https://api.github.com/repos/optiopay/kafka/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/comments/25437005"},"html":{"href":"https://github.com/optiopay/kafka/pull/2#discussion_r25437005"},"pull_request":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/optiopay/kafka/pulls/2","id":29530289,"html_url":"https://github.com/optiopay/kafka/pull/2","diff_url":"https://github.com/optiopay/kafka/pull/2.diff","patch_url":"https://github.com/optiopay/kafka/pull/2.patch","issue_url":"https://api.github.com/repos/optiopay/kafka/issues/2","number":2,"state":"open","locked":false,"title":"Kafka client 0.1","user":{"login":"husio","id":1517,"avatar_url":"https://avatars.githubusercontent.com/u/1517?v=3","gravatar_id":"","url":"https://api.github.com/users/husio","html_url":"https://github.com/husio","followers_url":"https://api.github.com/users/husio/followers","following_url":"https://api.github.com/users/husio/following{/other_user}","gists_url":"https://api.github.com/users/husio/gists{/gist_id}","starred_url":"https://api.github.com/users/husio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husio/subscriptions","organizations_url":"https://api.github.com/users/husio/orgs","repos_url":"https://api.github.com/users/husio/repos","events_url":"https://api.github.com/users/husio/events{/privacy}","received_events_url":"https://api.github.com/users/husio/received_events","type":"User","site_admin":false},"body":"One week of work. Alpha quality. Enjoy.","created_at":"2015-02-18T14:44:20Z","updated_at":"2015-02-26T15:50:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21e5dbac99701550c7faab6fdc6795b47b8deb10","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/optiopay/kafka/pulls/2/commits","review_comments_url":"https://api.github.com/repos/optiopay/kafka/pulls/2/comments","review_comment_url":"https://api.github.com/repos/optiopay/kafka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/optiopay/kafka/issues/2/comments","statuses_url":"https://api.github.com/repos/optiopay/kafka/statuses/38a34c9b81bc2d0505f1623ddb87d690994e294b","head":{"label":"husio:master","ref":"master","sha":"38a34c9b81bc2d0505f1623ddb87d690994e294b","user":{"login":"husio","id":1517,"avatar_url":"https://avatars.githubusercontent.com/u/1517?v=3","gravatar_id":"","url":"https://api.github.com/users/husio","html_url":"https://github.com/husio","followers_url":"https://api.github.com/users/husio/followers","following_url":"https://api.github.com/users/husio/following{/other_user}","gists_url":"https://api.github.com/users/husio/gists{/gist_id}","starred_url":"https://api.github.com/users/husio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husio/subscriptions","organizations_url":"https://api.github.com/users/husio/orgs","repos_url":"https://api.github.com/users/husio/repos","events_url":"https://api.github.com/users/husio/events{/privacy}","received_events_url":"https://api.github.com/users/husio/received_events","type":"User","site_admin":false},"repo":{"id":30528584,"name":"kafka","full_name":"husio/kafka","owner":{"login":"husio","id":1517,"avatar_url":"https://avatars.githubusercontent.com/u/1517?v=3","gravatar_id":"","url":"https://api.github.com/users/husio","html_url":"https://github.com/husio","followers_url":"https://api.github.com/users/husio/followers","following_url":"https://api.github.com/users/husio/following{/other_user}","gists_url":"https://api.github.com/users/husio/gists{/gist_id}","starred_url":"https://api.github.com/users/husio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/husio/subscriptions","organizations_url":"https://api.github.com/users/husio/orgs","repos_url":"https://api.github.com/users/husio/repos","events_url":"https://api.github.com/users/husio/events{/privacy}","received_events_url":"https://api.github.com/users/husio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/husio/kafka","description":"Kafka client for Go","fork":true,"url":"https://api.github.com/repos/husio/kafka","forks_url":"https://api.github.com/repos/husio/kafka/forks","keys_url":"https://api.github.com/repos/husio/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/husio/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/husio/kafka/teams","hooks_url":"https://api.github.com/repos/husio/kafka/hooks","issue_events_url":"https://api.github.com/repos/husio/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/husio/kafka/events","assignees_url":"https://api.github.com/repos/husio/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/husio/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/husio/kafka/tags","blobs_url":"https://api.github.com/repos/husio/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/husio/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/husio/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/husio/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/husio/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/husio/kafka/languages","stargazers_url":"https://api.github.com/repos/husio/kafka/stargazers","contributors_url":"https://api.github.com/repos/husio/kafka/contributors","subscribers_url":"https://api.github.com/repos/husio/kafka/subscribers","subscription_url":"https://api.github.com/repos/husio/kafka/subscription","commits_url":"https://api.github.com/repos/husio/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/husio/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/husio/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/husio/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/husio/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/husio/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/husio/kafka/merges","archive_url":"https://api.github.com/repos/husio/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/husio/kafka/downloads","issues_url":"https://api.github.com/repos/husio/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/husio/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/husio/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/husio/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/husio/kafka/labels{/name}","releases_url":"https://api.github.com/repos/husio/kafka/releases{/id}","created_at":"2015-02-09T09:37:51Z","updated_at":"2015-02-26T14:21:53Z","pushed_at":"2015-02-26T14:21:53Z","git_url":"git://github.com/husio/kafka.git","ssh_url":"git@github.com:husio/kafka.git","clone_url":"https://github.com/husio/kafka.git","svn_url":"https://github.com/husio/kafka","homepage":"","size":502,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":8,"default_branch":"master"}},"base":{"label":"optiopay:master","ref":"master","sha":"357a1faf3a5369c444dfb4b529a167f67be62e75","user":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"repo":{"id":30528539,"name":"kafka","full_name":"optiopay/kafka","owner":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/optiopay/kafka","description":"","fork":false,"url":"https://api.github.com/repos/optiopay/kafka","forks_url":"https://api.github.com/repos/optiopay/kafka/forks","keys_url":"https://api.github.com/repos/optiopay/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optiopay/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optiopay/kafka/teams","hooks_url":"https://api.github.com/repos/optiopay/kafka/hooks","issue_events_url":"https://api.github.com/repos/optiopay/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/optiopay/kafka/events","assignees_url":"https://api.github.com/repos/optiopay/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/optiopay/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/optiopay/kafka/tags","blobs_url":"https://api.github.com/repos/optiopay/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optiopay/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optiopay/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/optiopay/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optiopay/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/optiopay/kafka/languages","stargazers_url":"https://api.github.com/repos/optiopay/kafka/stargazers","contributors_url":"https://api.github.com/repos/optiopay/kafka/contributors","subscribers_url":"https://api.github.com/repos/optiopay/kafka/subscribers","subscription_url":"https://api.github.com/repos/optiopay/kafka/subscription","commits_url":"https://api.github.com/repos/optiopay/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/optiopay/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/optiopay/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/optiopay/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/optiopay/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/optiopay/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optiopay/kafka/merges","archive_url":"https://api.github.com/repos/optiopay/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optiopay/kafka/downloads","issues_url":"https://api.github.com/repos/optiopay/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/optiopay/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/optiopay/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/optiopay/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optiopay/kafka/labels{/name}","releases_url":"https://api.github.com/repos/optiopay/kafka/releases{/id}","created_at":"2015-02-09T09:36:50Z","updated_at":"2015-02-09T16:17:06Z","pushed_at":"2015-02-09T09:40:08Z","git_url":"git://github.com/optiopay/kafka.git","ssh_url":"git@github.com:optiopay/kafka.git","clone_url":"https://github.com/optiopay/kafka.git","svn_url":"https://github.com/optiopay/kafka","homepage":null,"size":151,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/2"},"html":{"href":"https://github.com/optiopay/kafka/pull/2"},"issue":{"href":"https://api.github.com/repos/optiopay/kafka/issues/2"},"comments":{"href":"https://api.github.com/repos/optiopay/kafka/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/optiopay/kafka/statuses/38a34c9b81bc2d0505f1623ddb87d690994e294b"}}}}