A demonstration of how to use Google Cloud PubSub across multiple projects to replicate data across regional products like Google Cloud Datastore using the
- https://crossregion-a.appspot.com/ (us-east-1)
- https://crossregion-b.appspot.com/ (australia-southeast1)
- https://crossregion-c.appspot.com/ (europe-west2)
Create two or more projects. Activate AppEngine one each in the console, selecting different regions for each. Activate PubSub on each in the console.
Setup PubSub topics and subscriptions
make PROJECT_IDS="<project-id-1> <project-id-2> ..." create-pubsub
Deploy the demo app and the replicator service to the projects.
make PROJECT_IDS="<project-id-1> <project-id-2> ..." deploy deploy-indexes deploy-replicator