Hello!
I have a question on how Pub/Sub works in case of disaster recovery.
As a example let say that I have all my services distributed in 2 different regions in US with not cross-region dependency (us-west1 and us-east1). In both region I'm sending messages to the global PubSub endpoint.
If my primary region is us-west1, that means that all the messages sent to PubSub topic will be stored in the us-west1 region right? If I'm not wrong PubSub by default store messages regionally with zonal replication (not sure if this is a bucket or something like that).
In case of outage us-west1 I'm going to use my secondary region us-east1 sending messages to the same PubSub Topic (Global endpoint)
According to this documentation https://cloud.google.com/pubsub/docs/reference/service_apis_overview#service_endpoints If I'm using the global PubSub endpoint in us-west1 and PubSub becomes unavailble in us-west1.
Regards!