Is GCP pub/sub region specific?

风格不统一 提交于 2021-01-29 09:10:32

问题


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:


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



来源:https://stackoverflow.com/questions/65053230/is-gcp-pub-sub-region-specific

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!