muffe
muffe

Reputation: 67

Flow control pub/sub on global basis in client library

In the client library for Cloud Pub/Sub, we can specify flow control settings in order to ensure the subscriber is not being overwhelmed by messages. This works fine if you only have one subscription.

However, my server has many subscriptions, which are used to integrate with other services. Is there a way to enforce a global flow control of sorts in the client library, which would make it possible to evenly balance the flow of messages among the subscription instances?

I tried looking at the docs, and did some searching, but came up empty handed.

Upvotes: 0

Views: 252

Answers (1)

muffe
muffe

Reputation: 67

After some additional research, it seems that the only viable option to control the throughput more fine grained among multiple subscriptions, will be to use the lower-level api to perform synchronous pulls.

Upvotes: 1

Related Questions