Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

Google Cloud PubSub Emulator

I'm running into an issue when trying to use the Google Cloud Pub/Sub Emulator. I am able to start the emulator successfully, but I cannot create topics or interact with it using gcloud commands. I ...
Rosscoasks's user avatar
0 votes
1 answer
80 views

Java client does not retrieve unacked messages from GCP Pub/Sub topic

I have a Spring Boot client configured with spring: cloud: gcp: pubsub: publisher: enable-message-ordering: true subscriber: flow-control: ...
Brian's user avatar
  • 7,653
0 votes
0 answers
79 views

Eventarc gcloud command returns error when specifying existing topic to use

i am creating an eventarc with gcloud and have existing topic i want to use (instead of eventarc creating new one and manage automatically) the trigger will invoke a workflow when new files upload to ...
unacorn's user avatar
  • 1,072
1 vote
1 answer
82 views

Nested fields not getting received on Google Pub/Sub

Since I'm learning the Google Pub/Sub library I've set up a local instance of the Pub/Sub and created 2 apps: 1 to send a message and one to receive it. So far so good,I've managed to set up the ...
Атанас Чолаков's user avatar
0 votes
0 answers
89 views

gcloud publish Pub/Sub JSON message where JSON properties contain space characters

I have a JSON file named countries/list.json I want to publish the content with gcloud CLI. { "countries": [ { "id": "SE", "name": "Sweden&...
Thomas Hansen's user avatar
0 votes
1 answer
376 views

Google Pub/Sub Big Query subscription schema mistmach

I've successfully created BigQuery subscription for Pub/Sub topic. Subscription schema options used: Use table schema Write metadata Drop unknown fields Topic does not have a schema. I assumed that ...
jseparovic's user avatar
1 vote
1 answer
89 views

Send notification to a pubsub topic after Dataproc job ends

I have Dataproc workflow consisting of Hadoop/Pig/Spark jobs. I was to send a message to a Pub/Sub topic after the whole Dataproc job ends. How can I achieve this?
Tarique's user avatar
  • 711
0 votes
2 answers
1k views

Is it normal to have multiple users connected to one Pub Sub topic that contains user specific data?

I’m new to gcloud pub sub and I want to implement it so that I can communicate from server to a client self hosted node JS server without the user having to publicly expose a web server from their ...
Jack_b_321's user avatar
0 votes
1 answer
477 views

Execute a google cloud scheduled function from a cloud trigger and then stop it

I am attempting to create a scheduled function in google cloud which starts from an event sent from a cloud function trigger, runs for a period of time, and then stops based on a condition or another ...
Jeff Voss's user avatar
  • 3,705
1 vote
2 answers
1k views

How to publish binary Protobuf to Google Cloud Pub/Sub with gcloud CLI tool?

It is possible to publish messages to Google Cloud Pub/Sub on (Unix/MacOS) command line with gcloud pubsub topics publish, at least strings. Is there a way to publish binary Protobuf? The command ...
Touko's user avatar
  • 11.8k
1 vote
0 answers
169 views

closing curl connection in gcloud pubsub php client for long polling

I am using Google\Cloud\PubSub\Connection\Rest for pubsub connection and fetching data continuously like $this->pubsub = new PubSubClient([ 'keyFile' => json_decode(file_get_contents(...
murtza gondal's user avatar
3 votes
2 answers
13k views

How to list/view messages on subscription in Gcloud pubsub?

I can acknowledge all messages on a subscription as follows: gcloud pubsub subscriptions pull --auto-ack --limit=999 my-sub (Although I often have to run this repeatedly before all messages are ...
danday74's user avatar
  • 57.5k
2 votes
2 answers
1k views

Can you use the Google Cloud emulator with Terraform?

When I setup the emulator and Terraform correctly, will I be able to run terraform with the results inside the emulator and not inside my project in Google Cloud? I could not find an answer on the web ...
Dion's user avatar
  • 100
1 vote
1 answer
4k views

gcloud pubsub subscriptions COMMAND "PURGE MESSAGES"

In GCP console you have the possibility to purge messages in a subscription. It looks like "gcloud pubsub subscriptions" do not support a "PURGE MESSAGES" command. What are the ...
Static Micke's user avatar
2 votes
1 answer
2k views

Pass contents of file as a string to an argument for another command [duplicate]

I have a json file like this: {"my_string": "apple", "my_int": 456} And a Bash program that works OK like this: my_program --message='{"my_string": "apple&...
CClarke's user avatar
  • 596

15 30 50 per page