{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21","id":46764785,"html_url":"https://github.com/ScalaConsultants/reactive-rabbit/pull/21","diff_url":"https://github.com/ScalaConsultants/reactive-rabbit/pull/21.diff","patch_url":"https://github.com/ScalaConsultants/reactive-rabbit/pull/21.patch","issue_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/21","number":21,"state":"open","locked":false,"title":"Expose prefetch in Connection.consume","user":{"login":"mkiedys","id":3410297,"avatar_url":"https://avatars.githubusercontent.com/u/3410297?v=3","gravatar_id":"","url":"https://api.github.com/users/mkiedys","html_url":"https://github.com/mkiedys","followers_url":"https://api.github.com/users/mkiedys/followers","following_url":"https://api.github.com/users/mkiedys/following{/other_user}","gists_url":"https://api.github.com/users/mkiedys/gists{/gist_id}","starred_url":"https://api.github.com/users/mkiedys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkiedys/subscriptions","organizations_url":"https://api.github.com/users/mkiedys/orgs","repos_url":"https://api.github.com/users/mkiedys/repos","events_url":"https://api.github.com/users/mkiedys/events{/privacy}","received_events_url":"https://api.github.com/users/mkiedys/received_events","type":"User","site_admin":false},"body":"This change allows consumer to decide how many messages they want to prefetch from the queue. Default settings is 20. Prefetched messages are acknowledged one by one upon delivery.","created_at":"2015-10-05T10:30:18Z","updated_at":"2015-10-05T10:30:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21/commits","review_comments_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21/comments","review_comment_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/21/comments","statuses_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/statuses/9f0adbdbefc37904a47b2af8cd1f3bc62072c9ec","head":{"label":"ScalaConsultants:prefetch","ref":"prefetch","sha":"9f0adbdbefc37904a47b2af8cd1f3bc62072c9ec","user":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"repo":{"id":24939433,"name":"reactive-rabbit","full_name":"ScalaConsultants/reactive-rabbit","owner":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScalaConsultants/reactive-rabbit","description":"Reactive Rabbit","fork":false,"url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit","forks_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/forks","keys_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/teams","hooks_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/hooks","issue_events_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/events{/number}","events_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/events","assignees_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/assignees{/user}","branches_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/branches{/branch}","tags_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/tags","blobs_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/statuses/{sha}","languages_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/languages","stargazers_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/stargazers","contributors_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/contributors","subscribers_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/subscribers","subscription_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/subscription","commits_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/contents/{+path}","compare_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/merges","archive_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/downloads","issues_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues{/number}","pulls_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls{/number}","milestones_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/milestones{/number}","notifications_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/labels{/name}","releases_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/releases{/id}","created_at":"2014-10-08T12:24:35Z","updated_at":"2015-10-05T00:55:58Z","pushed_at":"2015-10-05T10:27:31Z","git_url":"git://github.com/ScalaConsultants/reactive-rabbit.git","ssh_url":"git@github.com:ScalaConsultants/reactive-rabbit.git","clone_url":"https://github.com/ScalaConsultants/reactive-rabbit.git","svn_url":"https://github.com/ScalaConsultants/reactive-rabbit","homepage":"","size":926,"stargazers_count":92,"watchers_count":92,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":7,"forks":16,"open_issues":7,"watchers":92,"default_branch":"master"}},"base":{"label":"ScalaConsultants:master","ref":"master","sha":"5b8ca6de2b06dd71383fe5faa674865c38d7aa04","user":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"repo":{"id":24939433,"name":"reactive-rabbit","full_name":"ScalaConsultants/reactive-rabbit","owner":{"login":"ScalaConsultants","id":6207831,"avatar_url":"https://avatars.githubusercontent.com/u/6207831?v=3","gravatar_id":"","url":"https://api.github.com/users/ScalaConsultants","html_url":"https://github.com/ScalaConsultants","followers_url":"https://api.github.com/users/ScalaConsultants/followers","following_url":"https://api.github.com/users/ScalaConsultants/following{/other_user}","gists_url":"https://api.github.com/users/ScalaConsultants/gists{/gist_id}","starred_url":"https://api.github.com/users/ScalaConsultants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScalaConsultants/subscriptions","organizations_url":"https://api.github.com/users/ScalaConsultants/orgs","repos_url":"https://api.github.com/users/ScalaConsultants/repos","events_url":"https://api.github.com/users/ScalaConsultants/events{/privacy}","received_events_url":"https://api.github.com/users/ScalaConsultants/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScalaConsultants/reactive-rabbit","description":"Reactive Rabbit","fork":false,"url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit","forks_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/forks","keys_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/teams","hooks_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/hooks","issue_events_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/events{/number}","events_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/events","assignees_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/assignees{/user}","branches_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/branches{/branch}","tags_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/tags","blobs_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/statuses/{sha}","languages_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/languages","stargazers_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/stargazers","contributors_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/contributors","subscribers_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/subscribers","subscription_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/subscription","commits_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/contents/{+path}","compare_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/merges","archive_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/downloads","issues_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues{/number}","pulls_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls{/number}","milestones_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/milestones{/number}","notifications_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/labels{/name}","releases_url":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/releases{/id}","created_at":"2014-10-08T12:24:35Z","updated_at":"2015-10-05T00:55:58Z","pushed_at":"2015-10-05T10:27:31Z","git_url":"git://github.com/ScalaConsultants/reactive-rabbit.git","ssh_url":"git@github.com:ScalaConsultants/reactive-rabbit.git","clone_url":"https://github.com/ScalaConsultants/reactive-rabbit.git","svn_url":"https://github.com/ScalaConsultants/reactive-rabbit","homepage":"","size":926,"stargazers_count":92,"watchers_count":92,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":7,"forks":16,"open_issues":7,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21"},"html":{"href":"https://github.com/ScalaConsultants/reactive-rabbit/pull/21"},"issue":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/21"},"comments":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/ScalaConsultants/reactive-rabbit/statuses/9f0adbdbefc37904a47b2af8cd1f3bc62072c9ec"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":3,"changed_files":2}}