{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/31747189","id":31747189,"diff_hunk":"@@ -86,7 +85,7 @@ public void close() throws Exception {\n \t}\r\n \r\n \t@Override\r\n-\tpublic void run(Object checkpointLock, Collector<OUT> out) throws Exception {\r\n+\tpublic void run(SourceContext<OUT> ctx) throws Exception {\r\n \t\twhile (running) {\r\n \t\t\tdelivery = consumer.nextDelivery();\r","path":"flink-staging/flink-streaming/flink-streaming-connectors/flink-connector-rabbitmq/src/main/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSource.java","position":15,"original_position":15,"commit_id":"0fbacd0b24a97605ee5e4133a4d55c042b5a70df","original_commit_id":"0fbacd0b24a97605ee5e4133a4d55c042b5a70df","user":{"login":"StephanEwen","id":1727146,"avatar_url":"https://avatars.githubusercontent.com/u/1727146?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanEwen","html_url":"https://github.com/StephanEwen","followers_url":"https://api.github.com/users/StephanEwen/followers","following_url":"https://api.github.com/users/StephanEwen/following{/other_user}","gists_url":"https://api.github.com/users/StephanEwen/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanEwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanEwen/subscriptions","organizations_url":"https://api.github.com/users/StephanEwen/orgs","repos_url":"https://api.github.com/users/StephanEwen/repos","events_url":"https://api.github.com/users/StephanEwen/events{/privacy}","received_events_url":"https://api.github.com/users/StephanEwen/received_events","type":"User","site_admin":false},"body":"Make delivery a stack reference. No need to hold a reference in a field longer than necessary.","created_at":"2015-06-04T18:01:48Z","updated_at":"2015-06-04T18:01:48Z","html_url":"https://github.com/apache/flink/pull/785#discussion_r31747189","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/785","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/31747189"},"html":{"href":"https://github.com/apache/flink/pull/785#discussion_r31747189"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/785"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/785","id":36955182,"html_url":"https://github.com/apache/flink/pull/785","diff_url":"https://github.com/apache/flink/pull/785.diff","patch_url":"https://github.com/apache/flink/pull/785.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/785","number":785,"state":"open","locked":false,"title":"[FLINK-2160] Change Streaming Source Interface to run(Context)/cancel()","user":{"login":"aljoscha","id":68551,"avatar_url":"https://avatars.githubusercontent.com/u/68551?v=3","gravatar_id":"","url":"https://api.github.com/users/aljoscha","html_url":"https://github.com/aljoscha","followers_url":"https://api.github.com/users/aljoscha/followers","following_url":"https://api.github.com/users/aljoscha/following{/other_user}","gists_url":"https://api.github.com/users/aljoscha/gists{/gist_id}","starred_url":"https://api.github.com/users/aljoscha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aljoscha/subscriptions","organizations_url":"https://api.github.com/users/aljoscha/orgs","repos_url":"https://api.github.com/users/aljoscha/repos","events_url":"https://api.github.com/users/aljoscha/events{/privacy}","received_events_url":"https://api.github.com/users/aljoscha/received_events","type":"User","site_admin":false},"body":"The context can be used to emit elemens and retrieve the checkpointing\r\nlock object.\r\n\r\nIn the future, the context can be extended to provide support for\r\nemission with timestamps and dealing with the watermark system.","created_at":"2015-06-04T16:55:11Z","updated_at":"2015-06-04T18:01:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe479aca465edd0a80607b199d166d04b42c8e0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/785/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/785/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/785/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/0fbacd0b24a97605ee5e4133a4d55c042b5a70df","head":{"label":"aljoscha:source-context","ref":"source-context","sha":"0fbacd0b24a97605ee5e4133a4d55c042b5a70df","user":{"login":"aljoscha","id":68551,"avatar_url":"https://avatars.githubusercontent.com/u/68551?v=3","gravatar_id":"","url":"https://api.github.com/users/aljoscha","html_url":"https://github.com/aljoscha","followers_url":"https://api.github.com/users/aljoscha/followers","following_url":"https://api.github.com/users/aljoscha/following{/other_user}","gists_url":"https://api.github.com/users/aljoscha/gists{/gist_id}","starred_url":"https://api.github.com/users/aljoscha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aljoscha/subscriptions","organizations_url":"https://api.github.com/users/aljoscha/orgs","repos_url":"https://api.github.com/users/aljoscha/repos","events_url":"https://api.github.com/users/aljoscha/events{/privacy}","received_events_url":"https://api.github.com/users/aljoscha/received_events","type":"User","site_admin":false},"repo":{"id":22066189,"name":"flink","full_name":"aljoscha/flink","owner":{"login":"aljoscha","id":68551,"avatar_url":"https://avatars.githubusercontent.com/u/68551?v=3","gravatar_id":"","url":"https://api.github.com/users/aljoscha","html_url":"https://github.com/aljoscha","followers_url":"https://api.github.com/users/aljoscha/followers","following_url":"https://api.github.com/users/aljoscha/following{/other_user}","gists_url":"https://api.github.com/users/aljoscha/gists{/gist_id}","starred_url":"https://api.github.com/users/aljoscha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aljoscha/subscriptions","organizations_url":"https://api.github.com/users/aljoscha/orgs","repos_url":"https://api.github.com/users/aljoscha/repos","events_url":"https://api.github.com/users/aljoscha/events{/privacy}","received_events_url":"https://api.github.com/users/aljoscha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aljoscha/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/aljoscha/flink","forks_url":"https://api.github.com/repos/aljoscha/flink/forks","keys_url":"https://api.github.com/repos/aljoscha/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aljoscha/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aljoscha/flink/teams","hooks_url":"https://api.github.com/repos/aljoscha/flink/hooks","issue_events_url":"https://api.github.com/repos/aljoscha/flink/issues/events{/number}","events_url":"https://api.github.com/repos/aljoscha/flink/events","assignees_url":"https://api.github.com/repos/aljoscha/flink/assignees{/user}","branches_url":"https://api.github.com/repos/aljoscha/flink/branches{/branch}","tags_url":"https://api.github.com/repos/aljoscha/flink/tags","blobs_url":"https://api.github.com/repos/aljoscha/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aljoscha/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aljoscha/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/aljoscha/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aljoscha/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/aljoscha/flink/languages","stargazers_url":"https://api.github.com/repos/aljoscha/flink/stargazers","contributors_url":"https://api.github.com/repos/aljoscha/flink/contributors","subscribers_url":"https://api.github.com/repos/aljoscha/flink/subscribers","subscription_url":"https://api.github.com/repos/aljoscha/flink/subscription","commits_url":"https://api.github.com/repos/aljoscha/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/aljoscha/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/aljoscha/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/aljoscha/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/aljoscha/flink/contents/{+path}","compare_url":"https://api.github.com/repos/aljoscha/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aljoscha/flink/merges","archive_url":"https://api.github.com/repos/aljoscha/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aljoscha/flink/downloads","issues_url":"https://api.github.com/repos/aljoscha/flink/issues{/number}","pulls_url":"https://api.github.com/repos/aljoscha/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/aljoscha/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/aljoscha/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aljoscha/flink/labels{/name}","releases_url":"https://api.github.com/repos/aljoscha/flink/releases{/id}","created_at":"2014-07-21T13:51:54Z","updated_at":"2015-04-29T15:29:18Z","pushed_at":"2015-06-04T16:55:37Z","git_url":"git://github.com/aljoscha/flink.git","ssh_url":"git@github.com:aljoscha/flink.git","clone_url":"https://github.com/aljoscha/flink.git","svn_url":"https://github.com/aljoscha/flink","homepage":null,"size":50323,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"master"}},"base":{"label":"apache:master","ref":"master","sha":"f4195ac02764b92622316e83fa4dd31b864f2375","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","created_at":"2014-06-07T07:00:10Z","updated_at":"2015-06-04T12:53:31Z","pushed_at":"2015-06-04T17:50:53Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":3325539,"stargazers_count":438,"watchers_count":438,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":276,"mirror_url":"git://git.apache.org/incubator-flink.git","open_issues_count":55,"forks":276,"open_issues":55,"watchers":438,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/785"},"html":{"href":"https://github.com/apache/flink/pull/785"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/785"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/785/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/785/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/785/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/0fbacd0b24a97605ee5e4133a4d55c042b5a70df"}}}}