Queues Setup
PubSub Setup Guide
- Create a dedicated Service Account for PeerDB through Google Cloud Console and specify the following roles:
-
Pub/Sub Viewer
: PeerDB requires this role to check if your provided topic exists. -
Pub/Sub Publisher
: PeerDB requires this role to publish messages to the topic.Create a dedicated Service Account For PeerDB and grant the necessary permissions
-
Add a key to the above created service account
Add Key to the Service Account
Key Added to the Service Account
-
Using this service account key create the peer using PeerDB UI
Create PubSub Peer
Topic creation
By default, you would need to create the destination topic in PubSub before creating a mirror. However, if you’d like PeerDB to create the topic for you, you can turn on the following setting in PeerDB UI:
Add Key to the Service Account
Note that you must create a subscription on the topic for messages to be retained.