googleapis / nodejs-pubsub

Node.js client for Google Cloud Pub/Sub: Ingest event streams from anywhere, at any scale, for simple, reliable, real-time stream analytics.
https://cloud.google.com/pubsub/
Apache License 2.0
516 stars 227 forks source link

v1 SubscriberClient Pull request always fails with DEADLINE_EXCEEDED #1869

Open brianfranko22 opened 6 months ago

brianfranko22 commented 6 months ago

We are attempting to update our solution to use the v1.SubscriberClient instead of the streaming pull wrapper so we can block and backpressure when our downstream is experiencing issues.

When switching to the v1 client we are unable to ever pull any messages from the topic, when the same credentials setup and options work for the wrapper.

The sync pull example is what i was trying to follow. https://github.com/googleapis/nodejs-pubsub/blob/main/samples/typescript/synchronousPull.ts

I have been unable to find any other relevant examples and I am not sure what options I am missing to get this to succeed.