Enable Replication on an existing instance

Stay organized with collections Save and categorize content based on your preferences.

This page describes how to enable Replication for the first time on an existing Cloud Data Fusion instance.

Before you begin

If your instance uses Cloud Data Fusion version 6.2.3, upgrade your instance to 6.3.0 or above:

  1. Go to the Instances page in the Google Cloud console and select the instance.

    Go to Instances

  2. Click Upgrade > version 6.3.0 or higher > Upgrade.

For more information, see Upgrading instances and pipelines.

Enable Replication

Console

  1. Go to the Instances page.

    Go to Instances

  2. Click the instance name.

    The Instance details page opens.

  3. Click Add accelerators.

  4. Click Replication.

  5. Click Save.

cURL

  1. Enable the Replication accelerator in your instance:

    curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
        -H "Content-Type: application/json" \
        https://datafusion.googleapis.com/v1/projects/PROJECT_NAME/locations/LOCATION/instances/INSTANCE_NAME \
        -X PATCH \
        -d '{ "accelerators":[{"accelerator_type":"CDC", "state":"ENABLED"}]} '
    

    This sample command shows how to include labels that are already applied to an instance:

    curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
        -H "Content-Type: application/json" \
        https://datafusion.googleapis.com/v1/projects/PROJECT_NAME/locations/LOCATION/instances/INSTANCE_NAME \
        -X PATCH \
        -d '{ "accelerators":[{"accelerator_type":"CDC", "state":"ENABLED"}], "labels":{"KEY_1":"VALUE_1","KEY_2":"VALUE_2"}}'
    

    Replace the following:

    • PROJECT_NAME: the Google Cloud project name
    • LOCATION: the location—for example, us-east1
    • INSTANCE_NAME: the Cloud Data Fusion instance name
    • KEY_1 and VALUE_1, etc.: keys and values of your labels
  2. Optional: To verify the change was successful, click System Admin. Delta Assessor appears in the list of services.

    The Replication tile appears on the Cloud Data Fusion home page.

  3. Click System Admin to check the status of the Delta Assessor service. When the status is green, you can create Replication jobs.

What's next