GeezerVison is showing github.com — Implement publishBatch and pullBatch methods · Issue #379 · googleapis/google-cloud-node
Implement publishBatch and pullBatch methods #379Labels 🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged. DescriptionRE: #377 (comment)
API specs:
Ideally, publishBatch could accept messages in a raw or simple format. Activitychanged the title [-]Implement publishBatch method[/-] [+]Implement publishBatch and pullBatch methods[/+] on Feb 3, 2015ryanseys commented on Feb 5, 2015 According to #377 (comment) the suggested way of publishing and pulling messages is now through these methods on top of our existing publish and pull methods. We can just rework publish to support an array of messages and always use publishBatch API call behind the scenes. Similarly, pull right now returns 1 message so we can either use maxEvents: 1 by default to maintain backward compatibility or we can pull many messages, and document the new maxEvents option. Thoughts? stephenplusplus commented on Feb 9, 2015 ContributorAuthor More actions Just accepting an array to publish is a great idea. Same for pull; just accept an object with maxCount (instead of maxEvents?) that if absent, will default to 1/current behavior. 👍
I'd like to promote the priority of this one, since it breaks every build (which is now 3 builds to account for each supported platform) - https://travis-ci.org/GoogleCloudPlatform/gcloud-node/jobs/50067298 ryanseys commented on Feb 9, 2015 SGTM, if you'd like to jump at this one, be my guest. I'm a little occupied this morning. stephenplusplus commented on Feb 9, 2015 ContributorAuthor More actions
MetadataMetadata🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged. DevelopmentNo branches or pull requestsIssue actions
|