Add a Replicat for Google Pub/Sub

Learn to add a Replicat for a Google Pub/Sub target in an OCI GoldenGate data replication.

Before you begin

Before you create a Replicat for Google Pub/Sub, ensure that you:

  • Create and assign a Google Pub/Sub connection to the Big Data deployment.
  • Have your Google Cloud Service Account Key for Google Pub/Sub with appropriate permissions.

Add a Replicat

To add a Replicat for Google Pub/Sub:
  1. In the OCI GoldenGate deployment console, on the Administration Service Home page, click Add Replicat (plus icon).
  2. In the Add Replicat panel, on the Replicat Information page, complete the fields as follows, and then click Next:
    1. For Replicat Type, select Classic Replicat.
    2. Enter a Process Name, no more than 5 characters long.
    3. Enter a Description, to help you distinguish this process from others.
  3. On the Replicat Options page, complete the fields as needed, and then click Next:
    1. For Trail Name, enter the Extract trail name.
    2. For Target, select Google Pub/Sub.
    3. For Available Alias, select the Google Pub/Sub connection.
  4. On the Managed Options page, leave the default settings, and then click Next.
  5. On the Replicat Parameters page, leave the default settings, and then click Next.
  6. On the Replicat Properties page, update the following properties:
    gg.handler.pubsub.topicMappingTemplate
    gg.handler.pubsub.projectName
    gg.handler.pubsub.orderingKeyMappingTemplate

    Refer to Google Pub/Sub handler configuration for more information.

  7. Click Create and Run. If you click Create, then you can manually start the Replicat from the Administration Service Home page.