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 — Final review for PubSub by Google PubSub team · Issue #487 · googleapis/google-cloud-node

Final review for PubSub by Google PubSub team #487

New issue
Copy link
New issue
Copy link
Closed
Closed
Final review for PubSub by Google PubSub team#487
Copy link
Assignees
tmatsuo
Labels
🚨This issue needs some love.api: pubsubIssues related to the Pub/Sub API.triage meI really want to be triaged.
Milestone
Pub/Sub Stable

Description

@ryanseys
ryanseys
opened on Apr 6, 2015
Issue body actions

Should we have this reviewed more?

Activity

Next
  1. ryanseys
    added
    api: pubsubIssues related to the Pub/Sub API.
    on Apr 6, 2015
  2. ryanseys
    assigned
    jgeewax
    on Apr 7, 2015
  3. pierre-b commented on May 1, 2015

    @pierre-b
    pierre-b
    on May 1, 2015
    More actions

    Yes, the doc is quite a mess actually, looking at the code is essential.

    Could you please update the doc, the message.id should be message.ackId https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.13.2/pubsub/subscription?method=ack

    Thank you

  4. jgeewax
    changed the title [-]Final review for PubSub[/-] [+]Final review for PubSub by Google PubSub team[/+] on May 1, 2015
  5. jgeewax
    added this to the Pub/Sub Stable milestone on May 1, 2015
  6. ryanseys commented on May 3, 2015

    @ryanseys
    ryanseys
    on May 3, 2015
    ContributorAuthor
    More actions

    @pierre-b Hi thanks for your concerns. Is there any other specific issues you would like us to address?

  7. pierre-b commented on May 4, 2015

    @pierre-b
    pierre-b
    on May 4, 2015
    More actions

    Hi @ryanseys , I noticed a 30sec average lag when I open a subscription and the first message arrives, then the others arrive directly. Is this an expected behavior ?

    I also need to know how many messages are waiting in the subscription, to pop new workers or monitor the health of my system. Is it in the roadmap actually ?

    Thank you

  8. jgeewax commented on May 4, 2015

    @jgeewax
    jgeewax
    on May 4, 2015
    Contributor
    More actions

    Hi @pierre-b: Can you put these in separate issues so we can track them individually?

  9. tmatsuo commented on May 12, 2015

    @tmatsuo
    tmatsuo
    on May 12, 2015
    Contributor
    More actions

    I will look at the code this week.

  10. pierre-b commented on May 12, 2015

    @pierre-b
    pierre-b
    on May 12, 2015
    More actions

    Hi @jgeewax , forgot to tell you Ive opened separate issues.

  11. tmatsuo commented on May 16, 2015

    @tmatsuo
    tmatsuo
    on May 16, 2015
    Contributor
    More actions

    Pubsub holds the project id, which prevents you from accessing resources in multiple projects.

    https://github.com/GoogleCloudPlatform/gcloud-node/blob/master/lib/pubsub/index.js#L90

    Is this expected?

  12. jgeewax commented on May 16, 2015

    @jgeewax
    jgeewax
    on May 16, 2015
    Contributor
    More actions

    Just to be clear, it seems to me that I could do:

    var gcloud = require('gcloud');
    var pubsub1 = gcloud.pubsub({projectId: 'project1'});
    var pubsub2 = gcloud.pubsub({projectId: 'project2'});

    right?

    This would allow us to access resources across projects, no?

  13. tmatsuo commented on May 16, 2015

    @tmatsuo
    tmatsuo
    on May 16, 2015
    Contributor
    More actions

    @jgeewax I hope you're right. I meant you can not access multiple projects unless creating multiple pubsub object.

    However, I came up with a bad scenario.
    I have 2 projects; project1 and project2.
    I have 1 topic; topic1 in project1.
    I have 1 subscription; subscription2 in project2, which subscribes to the topic1.

    I don't think I can access to the subscription2 easily. It seems to me that the only way is to call pubsub.getSubscriptions() and iterate like:

    var pubsub2 = gcloud.pubsub({projectId: 'project2'});
    pubsub2.getSubscriptions(
      func(err, subscriptions, nextQuery, apiResponse) {
        // I don't come up with how to iterate the result easily
      }
    )

    Since if I do the following, the subscription object will have a wrong projectId:

    var pubsub1 = gcloud.pubsub({projectId: 'project1'});
    var topic1 = pubsub1.topic('topic1');
    var sub2 = topic1.subscription('subscription2'); // sub2 will have 'project1', which is wrong
  14. tmatsuo
    closed this as completedon May 16, 2015
  15. tmatsuo
    reopened this on May 16, 2015
  16. 36 remaining items

  17. sofisl
    added 2 commits that reference this issue on Feb 4, 2026

    chore: update bucket for cloud-rad (#487)

    21ca5cd

    chore(deps): update dependency eslint-plugin-node to v10 (#487)

    fe27a82
  18. sofisl
    added a commit that references this issue on Feb 17, 2026

    chore(deps): update dependency eslint-plugin-node to v10 (#487)

    f720ab5
  19. sofisl
    added 3 commits that reference this issue on Feb 24, 2026

    build: add Kokoro configs for autorelease (#487)

    833e545

    Release v2.2.0 (#487)

    8172a8e

    chore(typescript): add types for spanner gapic (#487)

    8373a7c
  20. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    chore: release 5.0.0 (#487)

    ee7afca
  21. sofisl
    added a commit that references this issue on Mar 5, 2026

    chore: [node] add auto-approve templates, and install dependencies wi…

    5701f8f
  22. GautamSharda
    added 2 commits that reference this issue on Mar 11, 2026

    refactor(typescript): noImplicityAny for Topic test file

    2e5b8fb

    chore: release 2.2.2 (#487)

    c7b4193
  23. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    Release v2.2.0 (googleapis#487)

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

    build: add configuration for automated doc deployment (#487)

    dbae9ee

    build: add configuration for automated doc deployment (#487)

    ce07a3d
  25. shivanee-p
    added a commit that references this issue on Mar 27, 2026

    build: add configuration for automated doc deployment (#487)

    ca378d8
  26. thiyaguk09
    added a commit that references this issue on May 5, 2026

    build: add configuration for automated doc deployment (googleapis#487)

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

Metadata

Metadata

Assignees

  • @tmatsuo
    tmatsuo

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 Stable

    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.