# \#cloud-pubsub

**URL:** https://discuss.google.dev/tag/cloud-pubsub/360.md

[Latest](https://discuss.google.dev/latest.md) · [Categories](https://discuss.google.dev/categories.md) · [Tags](https://discuss.google.dev/tags.md)

---

## [Is Your Data Infrastructure Ready for Agentic AI? Building Pipelines That Scale](https://discuss.google.dev/t/is-your-data-infrastructure-ready-for-agentic-ai-building-pipelines-that-scale/413129)

<div class="topic-metadata">

**Author:** [@Chandani\_Naik](https://discuss.google.dev/u/Chandani_Naik)\
**Replies:** 0\
**Last updated:** [November 12, 2026, 12:55pm UTC](https://discuss.google.dev/t/is-your-data-infrastructure-ready-for-agentic-ai-building-pipelines-that-scale/413129 "2026-11-12T12:55:18Z")

</div>

Agentic AI is moving beyond experimentation. Businesses are increasingly deploying autonomous AI agents to make decisions, execute workflows and interact with enterprise systems. But there is a critical challenge that o…

---

## [From Static Digital Twins to Live Intelligence Systems in Manufacturing](https://discuss.google.dev/t/from-static-digital-twins-to-live-intelligence-systems-in-manufacturing/411328)

<div class="topic-metadata">

**Author:** [@Chandani\_Naik](https://discuss.google.dev/u/Chandani_Naik)\
**Replies:** 0\
**Last updated:** [November 5, 2026, 9:44am UTC](https://discuss.google.dev/t/from-static-digital-twins-to-live-intelligence-systems-in-manufacturing/411328 "2026-11-05T09:44:02Z")

</div>

From Static Digital Twins to Live Intelligence Systems in Manufacturing Digital twins have transformed how manufacturers visualise and simulate their operations. However, many implementations still rely on historical da…

---

## [Reference Architecture Proposal: Solving the "Physical Oracle" Problem for RWA using GCP (Pub/Sub + Vertex AI)](https://discuss.google.dev/t/reference-architecture-proposal-solving-the-physical-oracle-problem-for-rwa-using-gcp-pub-sub-vertex-ai/347215)

<div class="topic-metadata">

**Author:** [@Petro\_Sidliarchuk](https://discuss.google.dev/u/Petro_Sidliarchuk)\
**Replies:** 2\
**Last updated:** [October 19, 2026, 6:36am UTC](https://discuss.google.dev/t/reference-architecture-proposal-solving-the-physical-oracle-problem-for-rwa-using-gcp-pub-sub-vertex-ai/347215 "2026-10-19T06:36:18Z")

</div>

Hi Google Cloud Community. I am a licensed structural engineer working on the intersection of physical infrastructure and Web3. I’ve developed a reference architecture (the IPAS Protocol) to verify real-world assets on-…

---

## [Google Pub/Sub stops pushing events](https://discuss.google.dev/t/google-pub-sub-stops-pushing-events/387116)

<div class="topic-metadata">

**Author:** [@Meng\_Wang](https://discuss.google.dev/u/Meng_Wang)\
**Replies:** 2\
**Last updated:** [August 8, 2026, 4:37am UTC](https://discuss.google.dev/t/google-pub-sub-stops-pushing-events/387116 "2026-08-08T04:37:33Z")

</div>

Hi Team, We use the Gmail API watch() method to route inbound email notifications to our backend via a Cloud Pub/Sub push subscription. Issue Description: On 2026-07-27, we experienced a ~40-minute total blackout in no…

---

## [Get Gmail Watch Status - Which Pub sub topic is linked to it](https://discuss.google.dev/t/get-gmail-watch-status-which-pub-sub-topic-is-linked-to-it/371814)

<div class="topic-metadata">

**Author:** [@Jishnudev\_V\_V](https://discuss.google.dev/u/Jishnudev_V_V)\
**Replies:** 0\
**Last updated:** [June 12, 2026, 7:02am UTC](https://discuss.google.dev/t/get-gmail-watch-status-which-pub-sub-topic-is-linked-to-it/371814 "2026-06-12T07:02:29Z")

</div>

In our application we have a functionality to configure push triggers for gmail mailboxes, we are creating Gmail watch linked with a pub sub topic for it. And we have a functionality to delete the trigger as well. So d…

---

## [Mastering Google Cloud Pub/Sub: Engineering lessons from the trenches](https://discuss.google.dev/t/mastering-google-cloud-pub-sub-engineering-lessons-from-the-trenches/299498)

<div class="topic-metadata">

**Author:** [@pushpdeep\_g](https://discuss.google.dev/u/pushpdeep_g)\
**Replies:** 2\
**Last updated:** [December 31, 2025, 4:59pm UTC](https://discuss.google.dev/t/mastering-google-cloud-pub-sub-engineering-lessons-from-the-trenches/299498 "2025-12-31T16:59:59Z")

</div>

Google Cloud Pub/Sub is the backbone of many modern event-driven architectures. While the service is designed for planetary scale, getting the most out of it requires more than just connecting a producer to a consumer. A…

---

## [Pub/Sub to BigQuery with CDC](https://discuss.google.dev/t/pub-sub-to-bigquery-with-cdc/288598)

<div class="topic-metadata">

**Author:** [@rrotter](https://discuss.google.dev/u/rrotter)\
**Replies:** 2\
**Last updated:** [December 8, 2025, 8:44am UTC](https://discuss.google.dev/t/pub-sub-to-bigquery-with-cdc/288598 "2025-12-08T08:44:15Z")

</div>

Hello! I have a PostgreSQL database and I’m looking into the possibility of sending data directly to BigQuery via Pub/Sub, without using Dataflow. Testing Debezium and Sequin, both sent messages to the Pub/Sub topic wi…

---

## [Best practices for Golang Pubsub creating a topic that may exist](https://discuss.google.dev/t/best-practices-for-golang-pubsub-creating-a-topic-that-may-exist/270264)

<div class="topic-metadata">

**Author:** [@spookymotion](https://discuss.google.dev/u/spookymotion)\
**Replies:** 0\
**Last updated:** [October 3, 2025, 4:28am UTC](https://discuss.google.dev/t/best-practices-for-golang-pubsub-creating-a-topic-that-may-exist/270264 "2025-10-03T04:28:47Z")

</div>

Hey all. I have a distributed system where multiple Golang clients might try creating the same topic in Pubsub. Is there an accepted best practice for handling err return from TopicAdminClient.CreateTopic when it already…

---

## [Architecting Pub/Sub for disaster recovery: Choosing the right strategy](https://discuss.google.dev/t/architecting-pub-sub-for-disaster-recovery-choosing-the-right-strategy/263640)

<div class="topic-metadata">

**Author:** [@pushpdeep\_g](https://discuss.google.dev/u/pushpdeep_g)\
**Replies:** 0\
**Last updated:** [September 9, 2025, 2:31pm UTC](https://discuss.google.dev/t/architecting-pub-sub-for-disaster-recovery-choosing-the-right-strategy/263640 "2025-09-09T14:31:53Z")

</div>

A strong disaster recovery (DR) strategy is essential for ensuring business continuity in a distributed system, especially when using a service like Pub/Sub. The goal is to minimize data loss and downtime, which can be a…

---

## [Pubsub Locational Endpoint - Resiliency](https://discuss.google.dev/t/pubsub-locational-endpoint-resiliency/243168)

<div class="topic-metadata">

**Author:** [@Janey\_Lin](https://discuss.google.dev/u/Janey_Lin)\
**Replies:** 1\
**Last updated:** [July 24, 2025, 8:38pm UTC](https://discuss.google.dev/t/pubsub-locational-endpoint-resiliency/243168 "2025-07-24T20:38:21Z")

</div>

Hi all, I’m trying to set up regional Pub/Sub using locational endpoints (e.g., us-central1-pubsub.googleapis.com) and was wondering if there’s any official documentation or best practices for configuring primary and fa…

---

## [Real-time Civic Media Dashboard on GCP – Feedback on High-Velocity Data Ingestion and Visualization](https://discuss.google.dev/t/real-time-civic-media-dashboard-on-gcp-feedback-on-high-velocity-data-ingestion-and-visualization/192990)

<div class="topic-metadata">

**Author:** [@devanshu5](https://discuss.google.dev/u/devanshu5)\
**Replies:** 2\
**Last updated:** [July 12, 2025, 11:00am UTC](https://discuss.google.dev/t/real-time-civic-media-dashboard-on-gcp-feedback-on-high-velocity-data-ingestion-and-visualization/192990 "2025-07-12T11:00:21Z")

</div>

Hello Google Cloud Community, I’m Devanshu Dandekar, a Data Engineer working on a real-time civic dashboard for urban insights using social media, web, and municipal data sources. Objective: To build an event-driven, …

---

## [GCP subscribers not performing optimally](https://discuss.google.dev/t/gcp-subscribers-not-performing-optimally/192940)

<div class="topic-metadata">

**Author:** [@amsh](https://discuss.google.dev/u/amsh)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 1:52pm UTC](https://discuss.google.dev/t/gcp-subscribers-not-performing-optimally/192940 "2025-07-02T13:52:07Z")

</div>

I’m currently managing multiple GCP subscribers connected to a single GCP subscription, but despite numerous attempts at optimization, the subscribers consistently fail to keep up with the incoming message rate. Here’s a…

---

## [PubSub periodic timeouts / latency spikes in Flink](https://discuss.google.dev/t/pubsub-periodic-timeouts-latency-spikes-in-flink/192130)

<div class="topic-metadata">

**Author:** [@piyush\_zlai](https://discuss.google.dev/u/piyush_zlai)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 8:43pm UTC](https://discuss.google.dev/t/pubsub-periodic-timeouts-latency-spikes-in-flink/192130 "2025-06-23T20:43:09Z")

</div>

Hi folks, I’m using the Flink PubSub connector library (https://github.com/apache/flink-connector-gcp-pubsub) and I seem to be observing that every ~hour or so I am seeing calls to pull messages from PubSub timing out. …

---

## [Google pubsub message delay for 60 seconds (StreamAckDeadlineSeconds default value)](https://discuss.google.dev/t/google-pubsub-message-delay-for-60-seconds-streamackdeadlineseconds-default-value/191343)

<div class="topic-metadata">

**Author:** [@PetarVG](https://discuss.google.dev/u/PetarVG)\
**Replies:** 1\
**Last updated:** [June 13, 2025, 2:25pm UTC](https://discuss.google.dev/t/google-pubsub-message-delay-for-60-seconds-streamackdeadlineseconds-default-value/191343 "2025-06-13T14:25:48Z")

</div>

Hey guys, I have problem similar to described here. From time to time our consumer receive message 60 seconds old. How we found the issue. We covered the whole path of message from pub/sub to publishing downstream with …

---

## [Pub/Sub ordering key](https://discuss.google.dev/t/pub-sub-ordering-key/190775)

<div class="topic-metadata">

**Author:** [@Shayke4747](https://discuss.google.dev/u/Shayke4747)\
**Replies:** 2\
**Last updated:** [June 8, 2025, 7:31am UTC](https://discuss.google.dev/t/pub-sub-ordering-key/190775 "2025-06-08T07:31:01Z")

</div>

Hi There is a specific point regarding ordering key that I don’t understand. After a message is being published - Will subscriber with ordering key receive and process the message only after previous message with the s…

---

## [Dataflow template - Streaming - Mongo DB CDC to Bigquery](https://discuss.google.dev/t/dataflow-template-streaming-mongo-db-cdc-to-bigquery/189655)

<div class="topic-metadata">

**Author:** [@dataflow](https://discuss.google.dev/u/dataflow)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 2:20pm UTC](https://discuss.google.dev/t/dataflow-template-streaming-mongo-db-cdc-to-bigquery/189655 "2025-05-23T14:20:12Z")

</div>

Hey Team, I want to synchronize atlas mongodb data to bigquery in real time. I tried to use this template to replay data to bigquery by posting to pub/sub’s mongodb changestream event. However, it seems that this temp…

---

## [MONGODB TO BIGQUERY - Connection and Transform](https://discuss.google.dev/t/mongodb-to-bigquery-connection-and-transform/187497)

<div class="topic-metadata">

**Author:** [@rrotter](https://discuss.google.dev/u/rrotter)\
**Replies:** 2\
**Last updated:** [May 19, 2025, 12:23pm UTC](https://discuss.google.dev/t/mongodb-to-bigquery-connection-and-transform/187497 "2025-05-19T12:23:54Z")

</div>

I’m new to data engineering and using MongoDB, so I’d like some help, please. I have a MongoDB database that needs to be migrated to BigQuery. The goal is to: Send the data to BigQuery; Periodically update the data th…

---

## [Issue in Implement Datastream and Dataflow for analytics](https://discuss.google.dev/t/issue-in-implement-datastream-and-dataflow-for-analytics/149212)

<div class="topic-metadata">

**Author:** [@NishinThattil](https://discuss.google.dev/u/NishinThattil)\
**Replies:** 2\
**Last updated:** [April 26, 2025, 11:06pm UTC](https://discuss.google.dev/t/issue-in-implement-datastream-and-dataflow-for-analytics/149212 "2025-04-26T23:06:31Z")

</div>

I was adding a new source in Datastream whose base db is in Postgres I’ve setup the pipeline where the destination is through cloud storage and then the dataflow job sends the data to BQ because we wanted to logs separat…

---

## [Setting to increase GCP Pub/Sub subscription send throughput](https://discuss.google.dev/t/setting-to-increase-gcp-pub-sub-subscription-send-throughput/187249)

<div class="topic-metadata">

**Author:** [@amashruwala](https://discuss.google.dev/u/amashruwala)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 8:40pm UTC](https://discuss.google.dev/t/setting-to-increase-gcp-pub-sub-subscription-send-throughput/187249 "2025-04-23T20:40:01Z")

</div>

I am trying to figure out the source of latency in my application as I am seeing a number of un-acked messages per unit time on the dashboard for my GCP Pub/Sub subscription. My application simply publishes the consumed …

---

## [Publish rate is not equal to Pull rate](https://discuss.google.dev/t/publish-rate-is-not-equal-to-pull-rate/186217)

<div class="topic-metadata">

**Author:** [@amashruwala](https://discuss.google.dev/u/amashruwala)\
**Replies:** 1\
**Last updated:** [April 11, 2025, 1:41pm UTC](https://discuss.google.dev/t/publish-rate-is-not-equal-to-pull-rate/186217 "2025-04-11T13:41:01Z")

</div>

I have 75 instances of streaming pull subscriber with the following settings: Subscription: Message retention duration = 10minutes Expiration Policy = 1 day Enable Exactly Once Delivery = false Subscriber: …

---

## [Google pubsub push subscription ack](https://discuss.google.dev/t/google-pubsub-push-subscription-ack/142544)

<div class="topic-metadata">

**Author:** [@akshay7534](https://discuss.google.dev/u/akshay7534)\
**Replies:** 11\
**Last updated:** [April 9, 2025, 2:16am UTC](https://discuss.google.dev/t/google-pubsub-push-subscription-ack/142544 "2025-04-09T02:16:00Z")

</div>

I have a cloud run endpoint that gets triggered by a push type pubsub subscription and it recives the user specified message thorugh publsiher,I am trying to get the message acknowledged by the acknowldgement time but th…

---

## [Catch Event that subscription has no subscriber in Pub/Sub](https://discuss.google.dev/t/catch-event-that-subscription-has-no-subscriber-in-pub-sub/185509)

<div class="topic-metadata">

**Author:** [@sesangcho](https://discuss.google.dev/u/sesangcho)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 10:43pm UTC](https://discuss.google.dev/t/catch-event-that-subscription-has-no-subscriber-in-pub-sub/185509 "2025-04-03T22:43:24Z")

</div>

I want to implement fan-out(one-to-many) by Pub/Sub. In specific, I want to publish the event to 5000 pods. For this, I will make a dynamic subscription whenever each pod starts. Each pod will subscribe to one dedicate…

---

## [Potential solutions for exporting GA4 raw data from BQ to Snowflake(When GA4 raw data loaded in BQ)?](https://discuss.google.dev/t/potential-solutions-for-exporting-ga4-raw-data-from-bq-to-snowflake-when-ga4-raw-data-loaded-in-bq/134359)

<div class="topic-metadata">

**Author:** [@sysph](https://discuss.google.dev/u/sysph)\
**Replies:** 1\
**Last updated:** [March 21, 2025, 8:34am UTC](https://discuss.google.dev/t/potential-solutions-for-exporting-ga4-raw-data-from-bq-to-snowflake-when-ga4-raw-data-loaded-in-bq/134359 "2025-03-21T08:34:06Z")

</div>

Hi there, I am looking for some advice here. I thought of the following solutions for exporting GA4 raw data from BQ to Snowflake (When GA4 raw data loaded in BQ). What would be the easiest method for this task? Snowp…

---

## [Dataproc PySpark Job Fails with &quot;Failed to find data source: pubsub](https://discuss.google.dev/t/dataproc-pyspark-job-fails-with-quot-failed-to-find-data-source-pubsub/184199)

<div class="topic-metadata">

**Author:** [@pallakki](https://discuss.google.dev/u/pallakki)\
**Replies:** 1\
**Last updated:** [March 19, 2025, 4:46pm UTC](https://discuss.google.dev/t/dataproc-pyspark-job-fails-with-quot-failed-to-find-data-source-pubsub/184199 "2025-03-19T16:46:53Z")

</div>

I am running a PySpark streaming job on Google Cloud Dataproc to read data from Pub/Sub and write it to BigQuery. However, my job fails with the error: java.lang.ClassNotFoundException: Failed to find data source: pubsub…

---

## [Unexpected unacked messages for Push to BigQuery subscriptions](https://discuss.google.dev/t/unexpected-unacked-messages-for-push-to-bigquery-subscriptions/182764)

<div class="topic-metadata">

**Author:** [@tiger24l7](https://discuss.google.dev/u/tiger24l7)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 1:59pm UTC](https://discuss.google.dev/t/unexpected-unacked-messages-for-push-to-bigquery-subscriptions/182764 "2025-03-07T13:59:03Z")

</div>

Hello, community! I’m facing an issue with Pub/Sub subscription metrics (Push delivery type with Write to BigQuery). Specifically, I see unacked messages in some subscriptions, even though all other metrics indicate nor…

---

## [How to make avro schema fields optional ?](https://discuss.google.dev/t/how-to-make-avro-schema-fields-optional/124693)

<div class="topic-metadata">

**Author:** [@ankit-pradhan](https://discuss.google.dev/u/ankit-pradhan)\
**Replies:** 6\
**Last updated:** [January 8, 2025, 12:08pm UTC](https://discuss.google.dev/t/how-to-make-avro-schema-fields-optional/124693 "2025-01-08T12:08:53Z")

</div>

Already tried below schema. { "type": "record", "name": "MyRecord", "fields": \[ { "name": "requiredField", "type": "string" }, { "name": "optionalField", "type": \["null", "string"\], "default": null } \] } { "require…

---

## [How to Trigger a Retry in PubSub When Using Push Subscriptions](https://discuss.google.dev/t/how-to-trigger-a-retry-in-pubsub-when-using-push-subscriptions/176790)

<div class="topic-metadata">

**Author:** [@johndobson](https://discuss.google.dev/u/johndobson)\
**Replies:** 1\
**Last updated:** [December 26, 2024, 5:45pm UTC](https://discuss.google.dev/t/how-to-trigger-a-retry-in-pubsub-when-using-push-subscriptions/176790 "2024-12-26T17:45:41Z")

</div>

I have a google cloud function that is subscribed to a pubsub push-type subscription. Because of the setup, the function does not use http requests to receive or respond to the subscription. What I am trying to do is tr…

---

## [PubSub to Dataproc Serverless](https://discuss.google.dev/t/pubsub-to-dataproc-serverless/176679)

<div class="topic-metadata">

**Author:** [@bgigs](https://discuss.google.dev/u/bgigs)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 3:25pm UTC](https://discuss.google.dev/t/pubsub-to-dataproc-serverless/176679 "2024-12-20T15:25:36Z")

</div>

Is it possible to read events from GCP Pub/Sub (not Lite) using Spark (Structured Streaming) in Dataproc (Serverless)? So far, I only found articles that either show how to read from GCP Pub/Sub Lite. If this is not pos…

---

## [Unable to trigger cloud function based on dataflow success event](https://discuss.google.dev/t/unable-to-trigger-cloud-function-based-on-dataflow-success-event/175951)

<div class="topic-metadata">

**Author:** [@Chanthar](https://discuss.google.dev/u/Chanthar)\
**Replies:** 1\
**Last updated:** [December 18, 2024, 4:32pm UTC](https://discuss.google.dev/t/unable-to-trigger-cloud-function-based-on-dataflow-success-event/175951 "2024-12-18T16:32:33Z")

</div>

I am using the google provided template ‘text on gcs bucket to bigquery’ to move some ndjson files from cloud storage into Big query tables. We have a requirement like once the files are loaded successfully into bigquery…

---

## [Pub/Sub PUBLISH\_PERMISSIONS\_MISSING\_FOR\_PUBSUB\_TOPIC](https://discuss.google.dev/t/pub-sub-publish-permissions-missing-for-pubsub-topic/107528)

<div class="topic-metadata">

**Author:** [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Replies:** 3\
**Last updated:** [December 18, 2024, 3:19pm UTC](https://discuss.google.dev/t/pub-sub-publish-permissions-missing-for-pubsub-topic/107528 "2024-12-18T15:19:13Z")

</div>

We’re managing multiple customers with google my business. We would like to get notified from google if a new review has been written at any location of any customer. I already found this thread https://www.googlecloudc…

[Next page](https://discuss.google.dev/tag/cloud-pubsub/360.md?match_all_tags=true&page=1&tags%5B%5D=cloud-pubsub)
