GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement publishBatch and pullBatch methods · Issue #379 · googleapis/google-cloud-node

Implement publishBatch and pullBatch methods #379

New issue
Copy link
New issue
Copy link
Closed
#388
Closed
Implement publishBatch and pullBatch methods#379
#388
Copy link
Assignees
stephenplusplus
Labels
🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged.
Milestone
Pub/Sub Alpha

Description

@stephenplusplus
stephenplusplus
opened on Feb 3, 2015
Issue body actions

RE: #377 (comment)

API specs:

  • https://cloud.google.com/pubsub/v1beta1/topics/publishBatch
  • https://cloud.google.com/pubsub/v1beta1/subscriptions/pullBatch

Ideally, publishBatch could accept messages in a raw or simple format.

Activity

Next
  1. stephenplusplus
    added
    api: pubsubIssues related to the Pub/Sub API.
    enhancement
    on Feb 3, 2015
  2. stephenplusplus
    changed the title [-]Implement publishBatch method[/-] [+]Implement publishBatch and pullBatch methods[/+] on Feb 3, 2015
  3. ryanseys commented on Feb 5, 2015

    @ryanseys
    ryanseys
    on Feb 5, 2015
    Contributor
    More actions

    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?

  4. ryanseys
    added this to the Pub/Sub Alpha milestone on Feb 5, 2015
  5. stephenplusplus commented on Feb 9, 2015

    @stephenplusplus
    stephenplusplus
    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

  6. ryanseys commented on Feb 9, 2015

    @ryanseys
    ryanseys
    on Feb 9, 2015
    Contributor
    More actions

    SGTM, if you'd like to jump at this one, be my guest. I'm a little occupied this morning.

  7. stephenplusplus commented on Feb 9, 2015

    @stephenplusplus
    stephenplusplus
    on Feb 9, 2015
    ContributorAuthor
    More actions

    On it 👍

  8. stephenplusplus
    closed this as completedin #388on Feb 19, 2015
  9. yoshi-automation
    added
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Apr 6, 2020
  10. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  11. chingor13
    added a commit that references this issue on Aug 22, 2022

    chore: update cloud rad kokoro build job (#379)

    f5545a6
  12. sofisl
    added 2 commits that reference this issue on Sep 15, 2022

    chore: remove unused dev packages (#379)

    e49a8f8

    build: move system and samples test from Node 10 to Node 12 (#379)

    91592a0
  13. 19 remaining items

  14. sofisl
    added a commit that references this issue on Jan 25, 2023

    docs: update import syntax in jsdoc (#379)

    7fa541e
  15. sofisl
    added a commit that references this issue on Sep 13, 2023

    build: remove unused codecov config (#379)

    aacdfa5
  16. sofisl
    added 3 commits that reference this issue on Jan 27, 2026

    chore(deps): update dependency @types/sinon to v7.0.3 (#379)

    1412ef4

    chore(deps): update dependency @types/sinon to v7.0.3 (#379)

    5c70940

    chore(deps): update dependency @types/sinon to v7.0.3 (#379)

    930b00f
  17. miguelvelezsa
    added a commit that references this issue on Jan 28, 2026

    refactor: wrap execSync with encoding: utf-8 (#379)

    bb14b43
  18. sofisl
    added a commit that references this issue on Feb 5, 2026

    refactor: wrap execSync with encoding: utf-8 (#379)

    10e0c10
  19. sofisl
    added a commit that references this issue on Feb 17, 2026

    refactor: wrap execSync with encoding: utf-8 (#379)

    b1f70ca
  20. sofisl
    added a commit that references this issue on Feb 24, 2026

    Convert Index and WriteBatch (#379)

    c624166
  21. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    docs: add lint/fix example to contributing guide (#379)

    7335209
  22. sofisl
    added a commit that references this issue on Mar 5, 2026

    chore: migrate code from googleapis/gcp-metadata (#53)

    fa9a454
  23. GautamSharda
    added 2 commits that reference this issue on Mar 23, 2026

    docs: update readme badges (#379)

    23a5216

    docs: update readme badges (#379)

    7d857bb
  24. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    docs: update readme badges (#379)

    e87469e
  25. thiyaguk09
    added a commit that references this issue on May 5, 2026

    docs: update readme badges (googleapis#379)

    97a92ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    • Pub/Sub Alpha

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.