Learn to configure OCI GoldenGate to replicate data from
Autonomous Transaction Processing to Apache Kafka.
Overview 🔗
Using OCI GoldenGate, you can replicate data from an Autonomous Database to a
Big Data target, like Apache Kafka. This quickstart demonstrates how to set up an OCI GoldenGate deployment, source and target connections, and replication
processes.
Before you begin 🔗
To successfully complete this quickstart, you must have the following:
A VCN with port 9092 (or another port used for the bootstrap server)
open in the Ingress rules.
A source Autonomous Transaction Processing instance
A target Apache Kafka node
Environment set up: Autonomous Transaction Processing 🔗
If you don't already have a source database set up for replication, you
can follow these steps to load a sample schema to use for this quickstart. This
quickstart uses Autonomous Transaction Processing for the source database.
In the Oracle Cloud console, select your Autonomous Transaction Processing (ATP) instance from
the Autonomous Databases page to view its details and access Database
Actions.
Unlock the GGADMIN user:
Click Database actions, then click Database
Users.
Locate GGADMIN and then click its ellipsis menu (three dots) and select
Edit.
In the Edit User panel, enter the GGADMIN password, confirm the
password, and then deselect Account is Locked.
Click Apply Changes.
Load the source sample schema and data:
From the Database actions menu, under Development, select
SQL.
Copy and paste the script from
OCIGGLL_OCIGGS_SETUP_USERS_ATP.sql into the SQL
worksheet.
Click Run Script. The Script Output tab displays confirmation
messages.
Clear the SQL worksheet and then copy and paste the SQL script from
OCIGGLL_OCIGGS_SRC_USER_SEED_DATA.sql.
Tip:
You may need to run each statement separately for the
SQL tool to execute the scripts successfully.
To verify that the tables were created successfully, close the SQL
window and reopen it again. In the Navigator tab, look for the
SRC_OCIGGLL schema and then select tables from
their respective dropdowns.
Enable supplemental logging:
Clear the SQL Worksheet.
Enter the following statement, and then click Run
Statement:
ALTER PLUGGABLE DATABASE ADD SUPPLEMENTAL LOG DATA;
Task 1: Create the OCI GoldenGate resources
🔗
This quickstart example requires deployments and connections for both
the source and target.