{"action":"created","comment":{"url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments/150270518","pull_request_review_id":75797572,"id":150270518,"diff_hunk":"@@ -129,6 +179,30 @@ public GetResult get(String channel, Long lastSeenId, String copyDepthToKey) {\n         }\n     }\n \n+    public GetBulkResult getMulti(List<String> channels, List<Long> lastSeenIds) {\n+        Handle handle = rdbi.open();\n+\n+        try {\n+            DAO dao = handle.attach(DAO.class);\n+                List<String> depthKeys = channels.stream().map(eachChannel -> ChannelPublisher.getChannelDepthKey(eachChannel)).collect(Collectors.toList());\n+                List<String>  queueKeys = channels.stream().map(eachChannel -> ChannelPublisher.getChannelQueueKey(eachChannel)).collect(Collectors.toList());\n+\n+                List<String> keysList = new ArrayList<>(depthKeys.size()*3+1);\n+                keysList.add(String.valueOf(depthKeys.size()));\n+                for (int i = 0; i < channels.size(); i++) {\n+                    keysList.add(queueKeys.get(i));\n+                    keysList.add(depthKeys.get(i));\n+                    keysList.add(\"0\");","path":"rdbi-recipes/src/main/java/com/lithium/dbi/rdbi/recipes/channel/ChannelLuaReceiver.java","position":89,"original_position":89,"commit_id":"85f701142a79d3e3117e3289088bded02c1a6aab","original_commit_id":"85f701142a79d3e3117e3289088bded02c1a6aab","user":{"login":"phutwo","id":18151,"avatar_url":"https://avatars3.githubusercontent.com/u/18151?v=4","gravatar_id":"","url":"https://api.github.com/users/phutwo","html_url":"https://github.com/phutwo","followers_url":"https://api.github.com/users/phutwo/followers","following_url":"https://api.github.com/users/phutwo/following{/other_user}","gists_url":"https://api.github.com/users/phutwo/gists{/gist_id}","starred_url":"https://api.github.com/users/phutwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phutwo/subscriptions","organizations_url":"https://api.github.com/users/phutwo/orgs","repos_url":"https://api.github.com/users/phutwo/repos","events_url":"https://api.github.com/users/phutwo/events{/privacy}","received_events_url":"https://api.github.com/users/phutwo/received_events","type":"User","site_admin":false},"body":"what's this 0 for?","created_at":"2017-11-10T15:56:39Z","updated_at":"2017-11-10T15:58:27Z","html_url":"https://github.com/lithiumtech/rdbi/pull/57#discussion_r150270518","pull_request_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments/150270518"},"html":{"href":"https://github.com/lithiumtech/rdbi/pull/57#discussion_r150270518"},"pull_request":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57","id":151206339,"html_url":"https://github.com/lithiumtech/rdbi/pull/57","diff_url":"https://github.com/lithiumtech/rdbi/pull/57.diff","patch_url":"https://github.com/lithiumtech/rdbi/pull/57.patch","issue_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/57","number":57,"state":"open","locked":false,"title":"comui-4546 add bulk get to channel reciever","user":{"login":"rhkwong","id":12907148,"avatar_url":"https://avatars2.githubusercontent.com/u/12907148?v=4","gravatar_id":"","url":"https://api.github.com/users/rhkwong","html_url":"https://github.com/rhkwong","followers_url":"https://api.github.com/users/rhkwong/followers","following_url":"https://api.github.com/users/rhkwong/following{/other_user}","gists_url":"https://api.github.com/users/rhkwong/gists{/gist_id}","starred_url":"https://api.github.com/users/rhkwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhkwong/subscriptions","organizations_url":"https://api.github.com/users/rhkwong/orgs","repos_url":"https://api.github.com/users/rhkwong/repos","events_url":"https://api.github.com/users/rhkwong/events{/privacy}","received_events_url":"https://api.github.com/users/rhkwong/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-07T19:33:23Z","updated_at":"2017-11-10T15:58:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad4217279ed09f6d4c7c5b326f35d523ceaee18d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57/commits","review_comments_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57/comments","review_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/57/comments","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/85f701142a79d3e3117e3289088bded02c1a6aab","head":{"label":"lithiumtech:RK-COMUI-4546","ref":"RK-COMUI-4546","sha":"85f701142a79d3e3117e3289088bded02c1a6aab","user":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars1.githubusercontent.com/u/4430799?v=4","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"repo":{"id":12325048,"name":"rdbi","full_name":"lithiumtech/rdbi","owner":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars1.githubusercontent.com/u/4430799?v=4","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lithiumtech/rdbi","description":"Redis+Lua with interface like JDBI","fork":false,"url":"https://api.github.com/repos/lithiumtech/rdbi","forks_url":"https://api.github.com/repos/lithiumtech/rdbi/forks","keys_url":"https://api.github.com/repos/lithiumtech/rdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lithiumtech/rdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lithiumtech/rdbi/teams","hooks_url":"https://api.github.com/repos/lithiumtech/rdbi/hooks","issue_events_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/events{/number}","events_url":"https://api.github.com/repos/lithiumtech/rdbi/events","assignees_url":"https://api.github.com/repos/lithiumtech/rdbi/assignees{/user}","branches_url":"https://api.github.com/repos/lithiumtech/rdbi/branches{/branch}","tags_url":"https://api.github.com/repos/lithiumtech/rdbi/tags","blobs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lithiumtech/rdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/lithiumtech/rdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/lithiumtech/rdbi/languages","stargazers_url":"https://api.github.com/repos/lithiumtech/rdbi/stargazers","contributors_url":"https://api.github.com/repos/lithiumtech/rdbi/contributors","subscribers_url":"https://api.github.com/repos/lithiumtech/rdbi/subscribers","subscription_url":"https://api.github.com/repos/lithiumtech/rdbi/subscription","commits_url":"https://api.github.com/repos/lithiumtech/rdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/lithiumtech/rdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/lithiumtech/rdbi/contents/{+path}","compare_url":"https://api.github.com/repos/lithiumtech/rdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lithiumtech/rdbi/merges","archive_url":"https://api.github.com/repos/lithiumtech/rdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lithiumtech/rdbi/downloads","issues_url":"https://api.github.com/repos/lithiumtech/rdbi/issues{/number}","pulls_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/lithiumtech/rdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/lithiumtech/rdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lithiumtech/rdbi/labels{/name}","releases_url":"https://api.github.com/repos/lithiumtech/rdbi/releases{/id}","deployments_url":"https://api.github.com/repos/lithiumtech/rdbi/deployments","created_at":"2013-08-23T14:30:48Z","updated_at":"2016-10-27T21:13:33Z","pushed_at":"2017-11-10T00:07:02Z","git_url":"git://github.com/lithiumtech/rdbi.git","ssh_url":"git@github.com:lithiumtech/rdbi.git","clone_url":"https://github.com/lithiumtech/rdbi.git","svn_url":"https://github.com/lithiumtech/rdbi","homepage":"","size":438,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"lithiumtech:master","ref":"master","sha":"a4bec05f7db4bcc33b02bef6338190c3c8637960","user":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars1.githubusercontent.com/u/4430799?v=4","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"repo":{"id":12325048,"name":"rdbi","full_name":"lithiumtech/rdbi","owner":{"login":"lithiumtech","id":4430799,"avatar_url":"https://avatars1.githubusercontent.com/u/4430799?v=4","gravatar_id":"","url":"https://api.github.com/users/lithiumtech","html_url":"https://github.com/lithiumtech","followers_url":"https://api.github.com/users/lithiumtech/followers","following_url":"https://api.github.com/users/lithiumtech/following{/other_user}","gists_url":"https://api.github.com/users/lithiumtech/gists{/gist_id}","starred_url":"https://api.github.com/users/lithiumtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lithiumtech/subscriptions","organizations_url":"https://api.github.com/users/lithiumtech/orgs","repos_url":"https://api.github.com/users/lithiumtech/repos","events_url":"https://api.github.com/users/lithiumtech/events{/privacy}","received_events_url":"https://api.github.com/users/lithiumtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lithiumtech/rdbi","description":"Redis+Lua with interface like JDBI","fork":false,"url":"https://api.github.com/repos/lithiumtech/rdbi","forks_url":"https://api.github.com/repos/lithiumtech/rdbi/forks","keys_url":"https://api.github.com/repos/lithiumtech/rdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lithiumtech/rdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lithiumtech/rdbi/teams","hooks_url":"https://api.github.com/repos/lithiumtech/rdbi/hooks","issue_events_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/events{/number}","events_url":"https://api.github.com/repos/lithiumtech/rdbi/events","assignees_url":"https://api.github.com/repos/lithiumtech/rdbi/assignees{/user}","branches_url":"https://api.github.com/repos/lithiumtech/rdbi/branches{/branch}","tags_url":"https://api.github.com/repos/lithiumtech/rdbi/tags","blobs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lithiumtech/rdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lithiumtech/rdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/lithiumtech/rdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lithiumtech/rdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/lithiumtech/rdbi/languages","stargazers_url":"https://api.github.com/repos/lithiumtech/rdbi/stargazers","contributors_url":"https://api.github.com/repos/lithiumtech/rdbi/contributors","subscribers_url":"https://api.github.com/repos/lithiumtech/rdbi/subscribers","subscription_url":"https://api.github.com/repos/lithiumtech/rdbi/subscription","commits_url":"https://api.github.com/repos/lithiumtech/rdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/lithiumtech/rdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/lithiumtech/rdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/lithiumtech/rdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/lithiumtech/rdbi/contents/{+path}","compare_url":"https://api.github.com/repos/lithiumtech/rdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lithiumtech/rdbi/merges","archive_url":"https://api.github.com/repos/lithiumtech/rdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lithiumtech/rdbi/downloads","issues_url":"https://api.github.com/repos/lithiumtech/rdbi/issues{/number}","pulls_url":"https://api.github.com/repos/lithiumtech/rdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/lithiumtech/rdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/lithiumtech/rdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lithiumtech/rdbi/labels{/name}","releases_url":"https://api.github.com/repos/lithiumtech/rdbi/releases{/id}","deployments_url":"https://api.github.com/repos/lithiumtech/rdbi/deployments","created_at":"2013-08-23T14:30:48Z","updated_at":"2016-10-27T21:13:33Z","pushed_at":"2017-11-10T00:07:02Z","git_url":"git://github.com/lithiumtech/rdbi.git","ssh_url":"git@github.com:lithiumtech/rdbi.git","clone_url":"https://github.com/lithiumtech/rdbi.git","svn_url":"https://github.com/lithiumtech/rdbi","homepage":"","size":438,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57"},"html":{"href":"https://github.com/lithiumtech/rdbi/pull/57"},"issue":{"href":"https://api.github.com/repos/lithiumtech/rdbi/issues/57"},"comments":{"href":"https://api.github.com/repos/lithiumtech/rdbi/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lithiumtech/rdbi/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/lithiumtech/rdbi/statuses/85f701142a79d3e3117e3289088bded02c1a6aab"}},"author_association":"NONE"}}
{"actor":{"display_login":"phutwo"}}