{"action":"closed","number":136,"pull_request":{"url":"https://api.github.com/repos/lovoo/goka/pulls/136","id":197463456,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NDYzNDU2","html_url":"https://github.com/lovoo/goka/pull/136","diff_url":"https://github.com/lovoo/goka/pull/136.diff","patch_url":"https://github.com/lovoo/goka/pull/136.patch","issue_url":"https://api.github.com/repos/lovoo/goka/issues/136","number":136,"state":"closed","locked":false,"title":"Expose partition and offset on the callback context","user":{"login":"burdiyan","id":1793789,"node_id":"MDQ6VXNlcjE3OTM3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/1793789?v=4","gravatar_id":"","url":"https://api.github.com/users/burdiyan","html_url":"https://github.com/burdiyan","followers_url":"https://api.github.com/users/burdiyan/followers","following_url":"https://api.github.com/users/burdiyan/following{/other_user}","gists_url":"https://api.github.com/users/burdiyan/gists{/gist_id}","starred_url":"https://api.github.com/users/burdiyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burdiyan/subscriptions","organizations_url":"https://api.github.com/users/burdiyan/orgs","repos_url":"https://api.github.com/users/burdiyan/repos","events_url":"https://api.github.com/users/burdiyan/events{/privacy}","received_events_url":"https://api.github.com/users/burdiyan/received_events","type":"User","site_admin":false},"body":"Currently there's no way to retrieve partition and offset of the input message, which may be useful in many data processing cases. For example we want to use Goka to push data to ElasticSearch and we want to use partition and offset data to use it as primary key in Elastic.","created_at":"2018-06-26T15:27:57Z","updated_at":"2018-06-27T07:54:53Z","closed_at":"2018-06-27T07:54:53Z","merged_at":"2018-06-27T07:54:53Z","merge_commit_sha":"72893dfb76caa3a85dc1b4104998d1bf5026e101","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lovoo/goka/pulls/136/commits","review_comments_url":"https://api.github.com/repos/lovoo/goka/pulls/136/comments","review_comment_url":"https://api.github.com/repos/lovoo/goka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lovoo/goka/issues/136/comments","statuses_url":"https://api.github.com/repos/lovoo/goka/statuses/fcc6d0e1d44eb47f4770e4c952a8ced8586c035f","head":{"label":"burdiyan:master","ref":"master","sha":"fcc6d0e1d44eb47f4770e4c952a8ced8586c035f","user":{"login":"burdiyan","id":1793789,"node_id":"MDQ6VXNlcjE3OTM3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/1793789?v=4","gravatar_id":"","url":"https://api.github.com/users/burdiyan","html_url":"https://github.com/burdiyan","followers_url":"https://api.github.com/users/burdiyan/followers","following_url":"https://api.github.com/users/burdiyan/following{/other_user}","gists_url":"https://api.github.com/users/burdiyan/gists{/gist_id}","starred_url":"https://api.github.com/users/burdiyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burdiyan/subscriptions","organizations_url":"https://api.github.com/users/burdiyan/orgs","repos_url":"https://api.github.com/users/burdiyan/repos","events_url":"https://api.github.com/users/burdiyan/events{/privacy}","received_events_url":"https://api.github.com/users/burdiyan/received_events","type":"User","site_admin":false},"repo":{"id":120377814,"node_id":"MDEwOlJlcG9zaXRvcnkxMjAzNzc4MTQ=","name":"goka","full_name":"burdiyan/goka","owner":{"login":"burdiyan","id":1793789,"node_id":"MDQ6VXNlcjE3OTM3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/1793789?v=4","gravatar_id":"","url":"https://api.github.com/users/burdiyan","html_url":"https://github.com/burdiyan","followers_url":"https://api.github.com/users/burdiyan/followers","following_url":"https://api.github.com/users/burdiyan/following{/other_user}","gists_url":"https://api.github.com/users/burdiyan/gists{/gist_id}","starred_url":"https://api.github.com/users/burdiyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burdiyan/subscriptions","organizations_url":"https://api.github.com/users/burdiyan/orgs","repos_url":"https://api.github.com/users/burdiyan/repos","events_url":"https://api.github.com/users/burdiyan/events{/privacy}","received_events_url":"https://api.github.com/users/burdiyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/burdiyan/goka","description":"Goka is a compact yet powerful distributed stream processing library for Apache Kafka written in Go.","fork":true,"url":"https://api.github.com/repos/burdiyan/goka","forks_url":"https://api.github.com/repos/burdiyan/goka/forks","keys_url":"https://api.github.com/repos/burdiyan/goka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burdiyan/goka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burdiyan/goka/teams","hooks_url":"https://api.github.com/repos/burdiyan/goka/hooks","issue_events_url":"https://api.github.com/repos/burdiyan/goka/issues/events{/number}","events_url":"https://api.github.com/repos/burdiyan/goka/events","assignees_url":"https://api.github.com/repos/burdiyan/goka/assignees{/user}","branches_url":"https://api.github.com/repos/burdiyan/goka/branches{/branch}","tags_url":"https://api.github.com/repos/burdiyan/goka/tags","blobs_url":"https://api.github.com/repos/burdiyan/goka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burdiyan/goka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burdiyan/goka/git/refs{/sha}","trees_url":"https://api.github.com/repos/burdiyan/goka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burdiyan/goka/statuses/{sha}","languages_url":"https://api.github.com/repos/burdiyan/goka/languages","stargazers_url":"https://api.github.com/repos/burdiyan/goka/stargazers","contributors_url":"https://api.github.com/repos/burdiyan/goka/contributors","subscribers_url":"https://api.github.com/repos/burdiyan/goka/subscribers","subscription_url":"https://api.github.com/repos/burdiyan/goka/subscription","commits_url":"https://api.github.com/repos/burdiyan/goka/commits{/sha}","git_commits_url":"https://api.github.com/repos/burdiyan/goka/git/commits{/sha}","comments_url":"https://api.github.com/repos/burdiyan/goka/comments{/number}","issue_comment_url":"https://api.github.com/repos/burdiyan/goka/issues/comments{/number}","contents_url":"https://api.github.com/repos/burdiyan/goka/contents/{+path}","compare_url":"https://api.github.com/repos/burdiyan/goka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burdiyan/goka/merges","archive_url":"https://api.github.com/repos/burdiyan/goka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burdiyan/goka/downloads","issues_url":"https://api.github.com/repos/burdiyan/goka/issues{/number}","pulls_url":"https://api.github.com/repos/burdiyan/goka/pulls{/number}","milestones_url":"https://api.github.com/repos/burdiyan/goka/milestones{/number}","notifications_url":"https://api.github.com/repos/burdiyan/goka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burdiyan/goka/labels{/name}","releases_url":"https://api.github.com/repos/burdiyan/goka/releases{/id}","deployments_url":"https://api.github.com/repos/burdiyan/goka/deployments","created_at":"2018-02-06T00:00:57Z","updated_at":"2018-06-26T15:26:30Z","pushed_at":"2018-06-26T15:26:21Z","git_url":"git://github.com/burdiyan/goka.git","ssh_url":"git@github.com:burdiyan/goka.git","clone_url":"https://github.com/burdiyan/goka.git","svn_url":"https://github.com/burdiyan/goka","homepage":"","size":832,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lovoo:master","ref":"master","sha":"70481aec8eeace950f3585722ade9206b307328e","user":{"login":"lovoo","id":9198992,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxOTg5OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9198992?v=4","gravatar_id":"","url":"https://api.github.com/users/lovoo","html_url":"https://github.com/lovoo","followers_url":"https://api.github.com/users/lovoo/followers","following_url":"https://api.github.com/users/lovoo/following{/other_user}","gists_url":"https://api.github.com/users/lovoo/gists{/gist_id}","starred_url":"https://api.github.com/users/lovoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovoo/subscriptions","organizations_url":"https://api.github.com/users/lovoo/orgs","repos_url":"https://api.github.com/users/lovoo/repos","events_url":"https://api.github.com/users/lovoo/events{/privacy}","received_events_url":"https://api.github.com/users/lovoo/received_events","type":"Organization","site_admin":false},"repo":{"id":86450135,"node_id":"MDEwOlJlcG9zaXRvcnk4NjQ1MDEzNQ==","name":"goka","full_name":"lovoo/goka","owner":{"login":"lovoo","id":9198992,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxOTg5OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/9198992?v=4","gravatar_id":"","url":"https://api.github.com/users/lovoo","html_url":"https://github.com/lovoo","followers_url":"https://api.github.com/users/lovoo/followers","following_url":"https://api.github.com/users/lovoo/following{/other_user}","gists_url":"https://api.github.com/users/lovoo/gists{/gist_id}","starred_url":"https://api.github.com/users/lovoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovoo/subscriptions","organizations_url":"https://api.github.com/users/lovoo/orgs","repos_url":"https://api.github.com/users/lovoo/repos","events_url":"https://api.github.com/users/lovoo/events{/privacy}","received_events_url":"https://api.github.com/users/lovoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lovoo/goka","description":"Goka is a compact yet powerful distributed stream processing library for Apache Kafka written in Go.","fork":false,"url":"https://api.github.com/repos/lovoo/goka","forks_url":"https://api.github.com/repos/lovoo/goka/forks","keys_url":"https://api.github.com/repos/lovoo/goka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lovoo/goka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lovoo/goka/teams","hooks_url":"https://api.github.com/repos/lovoo/goka/hooks","issue_events_url":"https://api.github.com/repos/lovoo/goka/issues/events{/number}","events_url":"https://api.github.com/repos/lovoo/goka/events","assignees_url":"https://api.github.com/repos/lovoo/goka/assignees{/user}","branches_url":"https://api.github.com/repos/lovoo/goka/branches{/branch}","tags_url":"https://api.github.com/repos/lovoo/goka/tags","blobs_url":"https://api.github.com/repos/lovoo/goka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lovoo/goka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lovoo/goka/git/refs{/sha}","trees_url":"https://api.github.com/repos/lovoo/goka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lovoo/goka/statuses/{sha}","languages_url":"https://api.github.com/repos/lovoo/goka/languages","stargazers_url":"https://api.github.com/repos/lovoo/goka/stargazers","contributors_url":"https://api.github.com/repos/lovoo/goka/contributors","subscribers_url":"https://api.github.com/repos/lovoo/goka/subscribers","subscription_url":"https://api.github.com/repos/lovoo/goka/subscription","commits_url":"https://api.github.com/repos/lovoo/goka/commits{/sha}","git_commits_url":"https://api.github.com/repos/lovoo/goka/git/commits{/sha}","comments_url":"https://api.github.com/repos/lovoo/goka/comments{/number}","issue_comment_url":"https://api.github.com/repos/lovoo/goka/issues/comments{/number}","contents_url":"https://api.github.com/repos/lovoo/goka/contents/{+path}","compare_url":"https://api.github.com/repos/lovoo/goka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lovoo/goka/merges","archive_url":"https://api.github.com/repos/lovoo/goka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lovoo/goka/downloads","issues_url":"https://api.github.com/repos/lovoo/goka/issues{/number}","pulls_url":"https://api.github.com/repos/lovoo/goka/pulls{/number}","milestones_url":"https://api.github.com/repos/lovoo/goka/milestones{/number}","notifications_url":"https://api.github.com/repos/lovoo/goka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lovoo/goka/labels{/name}","releases_url":"https://api.github.com/repos/lovoo/goka/releases{/id}","deployments_url":"https://api.github.com/repos/lovoo/goka/deployments","created_at":"2017-03-28T11:06:58Z","updated_at":"2018-06-25T09:32:35Z","pushed_at":"2018-06-27T07:54:53Z","git_url":"git://github.com/lovoo/goka.git","ssh_url":"git@github.com:lovoo/goka.git","clone_url":"https://github.com/lovoo/goka.git","svn_url":"https://github.com/lovoo/goka","homepage":"","size":824,"stargazers_count":868,"watchers_count":868,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":37,"open_issues":8,"watchers":868,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lovoo/goka/pulls/136"},"html":{"href":"https://github.com/lovoo/goka/pull/136"},"issue":{"href":"https://api.github.com/repos/lovoo/goka/issues/136"},"comments":{"href":"https://api.github.com/repos/lovoo/goka/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/lovoo/goka/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/lovoo/goka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lovoo/goka/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/lovoo/goka/statuses/fcc6d0e1d44eb47f4770e4c952a8ced8586c035f"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"db7","id":419366,"node_id":"MDQ6VXNlcjQxOTM2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/419366?v=4","gravatar_id":"","url":"https://api.github.com/users/db7","html_url":"https://github.com/db7","followers_url":"https://api.github.com/users/db7/followers","following_url":"https://api.github.com/users/db7/following{/other_user}","gists_url":"https://api.github.com/users/db7/gists{/gist_id}","starred_url":"https://api.github.com/users/db7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/db7/subscriptions","organizations_url":"https://api.github.com/users/db7/orgs","repos_url":"https://api.github.com/users/db7/repos","events_url":"https://api.github.com/users/db7/events{/privacy}","received_events_url":"https://api.github.com/users/db7/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":116,"deletions":52,"changed_files":2}}
{"actor":{"display_login":"db7"}}