1

Let's say a code running in Region A publishes a message. Can cloud function in region B and C subscribe for such events?

1 Answer 1

5

In standard, YES. Pubsub is a global service. If the publisher and the subscriber are in the same region, there is no reason the message change region.

But in cross region, the message is forwarded to the subscriber region and then consumed. You don't see this mechanism, it's automatic and managed by PubSub

However, if you have legal constrains, you can limit the available regions for PubSUb

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.