Enable Replication in an instance

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

Enable Replication

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 
    ?updateMask=accelerators \
        -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 
    ?updateMask=accelerators \
        -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 : keys and values of your labels
  2. Optional: To verify the change was successful, click System Admin. Delta Assessorappears in the list of services.

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

  3. Click System Adminto check the status of the Delta Assessorservice. When the status is green, you can create replication jobs.

What's next

Design a Mobile Site
View Site in Mobile | Classic
Share by: