{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1048","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1048/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1048/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1048","id":159403688,"number":1048,"title":"Fix PubSub Iterator pullAsync: add callback to PubSubRpc.pull","user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/cla:%20yes","name":"cla: yes","color":"009800"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/labels/pubsub","name":"pubsub","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T13:09:05Z","updated_at":"2016-06-09T16:12:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/pulls/1048","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1048","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1048.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1048.patch"},"body":"This PR follows from the discussion in #1041 and fixes `Future<Iterator<ReceivedMessage>> pullAsync`.\r\n`PubSubRpc.pull` changes signature to `PullFuture pull(String)`. `PullFuture` extends `Future<PullResponse>` and allows to register callbacks to the RPC's future so messages can be added to the ack deadline renewer as soon as pulled.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/comments/224945300","html_url":"https://github.com/GoogleCloudPlatform/gcloud-java/pull/1048#issuecomment-224945300","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-java/issues/1048","id":224945300,"user":{"login":"mziccard","id":450933,"avatar_url":"https://avatars.githubusercontent.com/u/450933?v=3","gravatar_id":"","url":"https://api.github.com/users/mziccard","html_url":"https://github.com/mziccard","followers_url":"https://api.github.com/users/mziccard/followers","following_url":"https://api.github.com/users/mziccard/following{/other_user}","gists_url":"https://api.github.com/users/mziccard/gists{/gist_id}","starred_url":"https://api.github.com/users/mziccard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mziccard/subscriptions","organizations_url":"https://api.github.com/users/mziccard/orgs","repos_url":"https://api.github.com/users/mziccard/repos","events_url":"https://api.github.com/users/mziccard/events{/privacy}","received_events_url":"https://api.github.com/users/mziccard/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T16:12:31Z","updated_at":"2016-06-09T16:12:31Z","body":"/cc @aozarov "}}
{"actor":{"display_login":"mziccard"}}