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 — LocalPubSubHelper does not work with gcloud beta emulators · Issue #990 · googleapis/google-cloud-java

LocalPubSubHelper does not work with gcloud beta emulators #990

New issue
Copy link
New issue
Copy link
Closed
Closed
LocalPubSubHelper does not work with gcloud beta emulators#990
Copy link
Assignees
mziccard
Labels
api: pubsubIssues related to the Pub/Sub API.

Description

@mziccard
mziccard
opened on May 6, 2016
Issue body actions

gcloud's --host-port requires both an host and a port to be provided (in the format host:port). This line must therefore be changed to:

gcloudCommand.add(GCLOUD_CMD_PORT_FLAG + "localhost:" + port);

Also we need to change the blockUntilOutput to be more specific that the simple port number.
gcloud beta emulators pubsub start in fact first logs the underlying command:

Executing: /bin/bash <gcloud-path>/platform/pubsub-emulator/bin/cloud-pubsub-fake --host=localhost --port=<port>

So waiting just for the port to be logged is not enough. I suggest we wait for the whole string:

"Server started, listening on " + port

/cc @garrettjonesgoogle @shinfan

Activity

  1. mziccard
    added
    api: pubsubIssues related to the Pub/Sub API.
    testing
    on May 6, 2016
  2. mziccard commented on May 8, 2016

    @mziccard
    mziccard
    on May 8, 2016
    ContributorAuthor
    More actions

    This was closed in #992

  3. mziccard
    closed this as completedon May 8, 2016
  4. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  5. github-actions
    added a commit that references this issue on Sep 15, 2022

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    e842696
  6. github-actions
    added 2 commits that reference this issue on Oct 4, 2022

    chore(deps): update dependency com.google.cloud:google-cloud-video-in…

    8b637c6

    chore(main): release 0.124.13 (#990)

    a693a54
  7. suztomo
    added 2 commits that reference this issue on Feb 1, 2023

    deps: update dependency io.grpc:grpc-bom to v1.50.2 (#990)

    275a212

    chore(main): release 2.8.23 (#992)

    5d7af0a
  8. meltsufin
    added 2 commits that reference this issue on Dec 22, 2025

    samples: Update KMS, Language, and Logging folders. (#990)

    f5313fc

    chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#…

    efa7cb9
  9. chingor13
    added a commit that references this issue on Jan 6, 2026

    Update KMS, Language, and Logging folders. (#990)

    ee16b18
  10. chingor13
    added 2 commits that reference this issue on Jan 22, 2026

    deps: update dependency org.graalvm.buildtools:native-maven-plugin to…

    5e984c8

    chore(main): release 2.13.5 (#991)

    619ef74
  11. chingor13
    added 2 commits that reference this issue on Feb 24, 2026

    docs(samples): modified comments in the samples and minor refactor (#990

    669ab04

    chore(main): release 1.12.0 (#1050)

    fda7fa4
  12. suztomo
    added 2 commits that reference this issue on Mar 11, 2026

    samples: Update KMS, Language, and Logging folders. (googleapis#990)

    7a2b199

    chore(deps): update dependency com.google.cloud:libraries-bom to v26 (g…

    2f68a23
  13. chingor13
    added 2 commits that reference this issue on Mar 12, 2026

    docs(samples): modified comments in the samples and minor refactor (#990

    6b168a2

    chore(main): release 1.12.0 (#1050)

    c7ba4cf
  14. suztomo
    added a commit that references this issue on Mar 30, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    57be1a1
  15. lqiu96
    added a commit that references this issue on Apr 1, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    82a4411
  16. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore: add kokoro config to run nightly integration test on java11.0.…

    f1843c0

    chore: add kokoro config to run nightly integration test on java11.0.…

    1dd793d
  17. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v23 (g…

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

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

Labels

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.