Add a Replicat for Databricks

Learn to add and configure a Replicat process for a Databricks target.

Before you begin

Before you add the Replicat, ensure that you have the following:

Add a Replicat

  1. In the OCI GoldenGate deployment console navigation menu, select Replicat.

  2. On the Replicat page, select Add Replicat.

  3. In the Add Replicat panel, on the Replicat Information page, complete the fields as needed, and then select Next:

    • For Replicat Type, select Classic Replicat.

    • Enter a Process Name, no more than 5 characters long.

    • Enter a Description, to help distinguish this process from others.

  4. On the Replicat Options page, complete the fields as needed, and then select Next:

    • For Name, enter the name of the Trail from Task 2.

    • For Target, select Databricks.

    • For Available Aliases, select your Databricks connection.

    • ForAvailable Staging Location, select Azure Datalake Storage.

    • For via staging alias, select your Azure Datalake Storage connection.

  5. On the Managed Options page, leave the fields as is, and then select Next.

  6. On the Parameter File page, replace MAP *.*, TARGET *.*; with the following, and then select Next:

    MAP SRC_OCIGGLL.SRC_CUSTOMER, TARGET <target_catalog_name>.<target_schema_name>.SRC_CUSTOMER
  7. On the Properties File page, configure the File Handler and OCI Event Handler properties as needed. Some properties to consider modifying include:

    1. Provide the target Azure Datalake Storage container name in gg.eventhandler.abs.bucketMappingTemplate.

    2. Add gg.handler.databricks.fileRollInterval=5s.

    For information on this target's properties, see Databricks in the Oracle GoldenGate for Distributed Applications and Analytics guide.

  8. Select Create and Run. If you select Create, then you can manually start the Replicat later from the Replicats page.