Skip to main content

All Questions

0 votes
1 answer
33 views

How to generate the Endpoint URL to cloud functions for push subscriptions on Google Pub/Sub?

I have a Cloud Function (v1) that is set to trigger every time a message is received in a specific topic. This part of the configuration is done correctly (since I've followed previous working cloud ...
marianod323's user avatar
0 votes
1 answer
79 views

Why is GCP Pubsub publishMessage so slow

I have a API on CloudRun which publishes a payload to a Pubsub topic which triggers a Cloudfunction. When I test it, the publishMessage() call takes more than 200ms to complete. This is my code to ...
Asif Alam's user avatar
2 votes
1 answer
54 views

Why does Google Pub/Sub deliver messages with the same orderingKey in parallel before calling ack()?

I am working with Google Cloud Pub/Sub, and I am trying to ensure that messages with the same orderingKey are processed in order, as stated in the official documentation. However, I notice that ...
rafik's user avatar
  • 67
0 votes
0 answers
36 views

Firebase gen2: unkown trigger despite successful deployment

I made a firebase function and defined a pub/sub trigger: google_play_purchase_handler.py: @pubsub_fn.on_message_published(topic=GOOGLE_PLAY_PUBSUB_TOPIC, region=REGION) async def ...
Orl13's user avatar
  • 533
1 vote
1 answer
86 views

Cloud Function with Pub/Sub Trigger Fails to Save Email Attachments to Cloud Storage

I am building a Google Cloud Function with a Pub/Sub trigger to handle email attachments. The function is supposed to save the attachments from allowed email addresses into a specified Cloud Storage ...
Bhushan tarale's user avatar
0 votes
1 answer
154 views

How do I add type safety to my Pub/Sub Cloud Run (gen2) function?

I have a Google Cloud Run Function (formerly Cloud Functions 2nd Gen) running TypeScript/Node.js. The documentation in the Pub/Sub tutorial shows that you get a cloudEvent, but how can I add type ...
Kyle Venn's user avatar
  • 8,178
0 votes
1 answer
38 views

Change the location of pubsub cloud function

I have a pubsub cloud function but it is deploying to us-central1 by default. I need it in Europe. How can I change the location of it? I know we can set the location of onRequest functions like this ...
Victor's user avatar
  • 425
0 votes
1 answer
228 views

Colab Enterprise Notebook Scheduler vs GCP Functions & Scheduler [closed]

I am trying to build data ingestion pipelines (ETL) using Google Cloud Platform I have python scripts that downloads public data, uploads it to cloud storage, and performs transformation on this data ...
Power Trader's user avatar
0 votes
0 answers
36 views

Schedule Firebase Cloud Function Doesn't Handle DST

exports.sendDailyNotification = functions.pubsub.schedule('0 12 * * *') .timeZone('America/Chicago') .onRun(async (context) => { // Code Here } I would expect this cloud ...
Chaz Yarbrough's user avatar
1 vote
1 answer
465 views

Getting a 403 error when triggering a Cloud Function from a PubSub Topic

I created a cloud function that is triggered by a publish to a pubsub Topic. When I publish a message to the topic and read the funcition logs, I see this error: "The request was not ...
Joaquin Garcia's user avatar
0 votes
1 answer
261 views

How can I configure the Firebase Cloud function emulator so that my function receives messages from a real cloud topic

I want to be able to test my cloud function locally in the Firebase emulator with it receiving messages from an actual topic in the Firebase cloud environment (not from the Firebase PubSub emulator). ...
William's user avatar
  • 20.2k
0 votes
0 answers
40 views

How to observe pubsub push window changing with failing requests?

I have a cloud run endpoint that gets triggered by a push type pubsub subscription and the cloudrun api is a composite api which does 2-3 operations and then it returns. I am observing at high load ...
Sambit Kumar Panda's user avatar
0 votes
1 answer
77 views

GCP PubSub with Cloud Functions => Aborted Requests

I'm pushing a fairly large number of small items (around 100k) into a PubSub queue. A cloud function then works on the tasks at hand. This setup leads me to the following error. Does anyone know why ...
Norbert Hüthmayr's user avatar
0 votes
0 answers
43 views

ResourceClosedError after executing a SELECT statement in a GCP Cloud Function

I'm experiencing a problem with SQLAlchemy in a Google Cloud Function where I receive the error: "This result object does not return rows. It has been closed automatically." The error occurs ...
kbenzakrilelp's user avatar
0 votes
0 answers
42 views

Update PubSub subscription for gen2 Cloud Function

In gen1 Cloud Function with PubSub trigger, the subscription can easily be edited using the CLI, because the subscription name has a deterministic name of the pattern "gcf-<FUNCTION_NAME>--&...
jacob's user avatar
  • 2,906

15 30 50 per page
1
2 3 4 5
28