{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/confluentinc/kafka/pulls/16","id":43646460,"html_url":"https://github.com/confluentinc/kafka/pull/16","diff_url":"https://github.com/confluentinc/kafka/pull/16.diff","patch_url":"https://github.com/confluentinc/kafka/pull/16.patch","issue_url":"https://api.github.com/repos/confluentinc/kafka/issues/16","number":16,"state":"open","locked":false,"title":"unify KeyValueMapper and KeyValueFlatMap","user":{"login":"ymatsuda","id":169548,"avatar_url":"https://avatars.githubusercontent.com/u/169548?v=3","gravatar_id":"","url":"https://api.github.com/users/ymatsuda","html_url":"https://github.com/ymatsuda","followers_url":"https://api.github.com/users/ymatsuda/followers","following_url":"https://api.github.com/users/ymatsuda/following{/other_user}","gists_url":"https://api.github.com/users/ymatsuda/gists{/gist_id}","starred_url":"https://api.github.com/users/ymatsuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymatsuda/subscriptions","organizations_url":"https://api.github.com/users/ymatsuda/orgs","repos_url":"https://api.github.com/users/ymatsuda/repos","events_url":"https://api.github.com/users/ymatsuda/events{/privacy}","received_events_url":"https://api.github.com/users/ymatsuda/received_events","type":"User","site_admin":false},"body":"@guozhangwang \r\nThis unifies KeyValueMapper and KeyValueFlatMap to reduce the number of functional interfaces. For Java7 users, their code will be a little bit more verbose. Java8 users using lambda expressions won't be affected.\r\n\r\n","created_at":"2015-08-28T16:30:42Z","updated_at":"2015-08-28T16:30:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/confluentinc/kafka/pulls/16/commits","review_comments_url":"https://api.github.com/repos/confluentinc/kafka/pulls/16/comments","review_comment_url":"https://api.github.com/repos/confluentinc/kafka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/confluentinc/kafka/issues/16/comments","statuses_url":"https://api.github.com/repos/confluentinc/kafka/statuses/df4abee98b766f5751e16aaecb78ca5318b53617","head":{"label":"ymatsuda:remove_KeyValueFlatMap","ref":"remove_KeyValueFlatMap","sha":"df4abee98b766f5751e16aaecb78ca5318b53617","user":{"login":"ymatsuda","id":169548,"avatar_url":"https://avatars.githubusercontent.com/u/169548?v=3","gravatar_id":"","url":"https://api.github.com/users/ymatsuda","html_url":"https://github.com/ymatsuda","followers_url":"https://api.github.com/users/ymatsuda/followers","following_url":"https://api.github.com/users/ymatsuda/following{/other_user}","gists_url":"https://api.github.com/users/ymatsuda/gists{/gist_id}","starred_url":"https://api.github.com/users/ymatsuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymatsuda/subscriptions","organizations_url":"https://api.github.com/users/ymatsuda/orgs","repos_url":"https://api.github.com/users/ymatsuda/repos","events_url":"https://api.github.com/users/ymatsuda/events{/privacy}","received_events_url":"https://api.github.com/users/ymatsuda/received_events","type":"User","site_admin":false},"repo":{"id":30946235,"name":"kafka","full_name":"ymatsuda/kafka","owner":{"login":"ymatsuda","id":169548,"avatar_url":"https://avatars.githubusercontent.com/u/169548?v=3","gravatar_id":"","url":"https://api.github.com/users/ymatsuda","html_url":"https://github.com/ymatsuda","followers_url":"https://api.github.com/users/ymatsuda/followers","following_url":"https://api.github.com/users/ymatsuda/following{/other_user}","gists_url":"https://api.github.com/users/ymatsuda/gists{/gist_id}","starred_url":"https://api.github.com/users/ymatsuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymatsuda/subscriptions","organizations_url":"https://api.github.com/users/ymatsuda/orgs","repos_url":"https://api.github.com/users/ymatsuda/repos","events_url":"https://api.github.com/users/ymatsuda/events{/privacy}","received_events_url":"https://api.github.com/users/ymatsuda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ymatsuda/kafka","description":"Mirror of Apache Kafka","fork":true,"url":"https://api.github.com/repos/ymatsuda/kafka","forks_url":"https://api.github.com/repos/ymatsuda/kafka/forks","keys_url":"https://api.github.com/repos/ymatsuda/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ymatsuda/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ymatsuda/kafka/teams","hooks_url":"https://api.github.com/repos/ymatsuda/kafka/hooks","issue_events_url":"https://api.github.com/repos/ymatsuda/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/ymatsuda/kafka/events","assignees_url":"https://api.github.com/repos/ymatsuda/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/ymatsuda/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/ymatsuda/kafka/tags","blobs_url":"https://api.github.com/repos/ymatsuda/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ymatsuda/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ymatsuda/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/ymatsuda/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ymatsuda/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/ymatsuda/kafka/languages","stargazers_url":"https://api.github.com/repos/ymatsuda/kafka/stargazers","contributors_url":"https://api.github.com/repos/ymatsuda/kafka/contributors","subscribers_url":"https://api.github.com/repos/ymatsuda/kafka/subscribers","subscription_url":"https://api.github.com/repos/ymatsuda/kafka/subscription","commits_url":"https://api.github.com/repos/ymatsuda/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/ymatsuda/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/ymatsuda/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/ymatsuda/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/ymatsuda/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/ymatsuda/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ymatsuda/kafka/merges","archive_url":"https://api.github.com/repos/ymatsuda/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ymatsuda/kafka/downloads","issues_url":"https://api.github.com/repos/ymatsuda/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/ymatsuda/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/ymatsuda/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/ymatsuda/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ymatsuda/kafka/labels{/name}","releases_url":"https://api.github.com/repos/ymatsuda/kafka/releases{/id}","created_at":"2015-02-18T00:56:44Z","updated_at":"2015-02-18T00:56:46Z","pushed_at":"2015-08-28T16:28:13Z","git_url":"git://github.com/ymatsuda/kafka.git","ssh_url":"git@github.com:ymatsuda/kafka.git","clone_url":"https://github.com/ymatsuda/kafka.git","svn_url":"https://github.com/ymatsuda/kafka","homepage":null,"size":21824,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"0.8.2"}},"base":{"label":"confluentinc:streaming","ref":"streaming","sha":"55fee17571549cb837da33c5b71a6bf0448ca072","user":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"repo":{"id":37555321,"name":"kafka","full_name":"confluentinc/kafka","owner":{"login":"confluentinc","id":9439498,"avatar_url":"https://avatars.githubusercontent.com/u/9439498?v=3","gravatar_id":"","url":"https://api.github.com/users/confluentinc","html_url":"https://github.com/confluentinc","followers_url":"https://api.github.com/users/confluentinc/followers","following_url":"https://api.github.com/users/confluentinc/following{/other_user}","gists_url":"https://api.github.com/users/confluentinc/gists{/gist_id}","starred_url":"https://api.github.com/users/confluentinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confluentinc/subscriptions","organizations_url":"https://api.github.com/users/confluentinc/orgs","repos_url":"https://api.github.com/users/confluentinc/repos","events_url":"https://api.github.com/users/confluentinc/events{/privacy}","received_events_url":"https://api.github.com/users/confluentinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/confluentinc/kafka","description":"Mirror of Apache Kafka","fork":true,"url":"https://api.github.com/repos/confluentinc/kafka","forks_url":"https://api.github.com/repos/confluentinc/kafka/forks","keys_url":"https://api.github.com/repos/confluentinc/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/confluentinc/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/confluentinc/kafka/teams","hooks_url":"https://api.github.com/repos/confluentinc/kafka/hooks","issue_events_url":"https://api.github.com/repos/confluentinc/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/confluentinc/kafka/events","assignees_url":"https://api.github.com/repos/confluentinc/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/confluentinc/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/confluentinc/kafka/tags","blobs_url":"https://api.github.com/repos/confluentinc/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/confluentinc/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/confluentinc/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/confluentinc/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/confluentinc/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/confluentinc/kafka/languages","stargazers_url":"https://api.github.com/repos/confluentinc/kafka/stargazers","contributors_url":"https://api.github.com/repos/confluentinc/kafka/contributors","subscribers_url":"https://api.github.com/repos/confluentinc/kafka/subscribers","subscription_url":"https://api.github.com/repos/confluentinc/kafka/subscription","commits_url":"https://api.github.com/repos/confluentinc/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/confluentinc/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/confluentinc/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/confluentinc/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/confluentinc/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/confluentinc/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/confluentinc/kafka/merges","archive_url":"https://api.github.com/repos/confluentinc/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/confluentinc/kafka/downloads","issues_url":"https://api.github.com/repos/confluentinc/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/confluentinc/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/confluentinc/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/confluentinc/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/confluentinc/kafka/labels{/name}","releases_url":"https://api.github.com/repos/confluentinc/kafka/releases{/id}","created_at":"2015-06-16T20:48:28Z","updated_at":"2015-08-07T12:33:19Z","pushed_at":"2015-08-28T15:37:21Z","git_url":"git://github.com/confluentinc/kafka.git","ssh_url":"git@github.com:confluentinc/kafka.git","clone_url":"https://github.com/confluentinc/kafka.git","svn_url":"https://github.com/confluentinc/kafka","homepage":null,"size":22573,"stargazers_count":3,"watchers_count":3,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/confluentinc/kafka/pulls/16"},"html":{"href":"https://github.com/confluentinc/kafka/pull/16"},"issue":{"href":"https://api.github.com/repos/confluentinc/kafka/issues/16"},"comments":{"href":"https://api.github.com/repos/confluentinc/kafka/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/confluentinc/kafka/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/confluentinc/kafka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/confluentinc/kafka/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/confluentinc/kafka/statuses/df4abee98b766f5751e16aaecb78ca5318b53617"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":47,"changed_files":10}}