How can I use oracdc with Oracle 10.2.0.4 EE #44
-
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi iamjavadev1, The following steps need to be performed in order to prepare the Oracle database so the oracdc Connector can be used. Enabling Oracle RDBMS ARCHIVELOG modeLog in to SQL*Plus as SYSDBA and check results of query
If the query returns ARCHIVELOG, it is enabled. Skip ahead to Enabling supplemental log data.
To verify that ARCHIVELOG has been enabled run again
This time it should return ARCHIVELOG Enabling supplemental loggingLog in to SQL*Plus as SYSDBA, if you like to enable supplemental logging for whole database:
Alternatively, to enable only for selected tables and minimal supplemental logging, a database-level option (recommended):
To verify supplemental logging settings at database level:
To verify supplemental logging settings at table level:
Creation of non-privileged Oracle user for running LogMiner
Enable supplemental logging for required tables, below examples for schema SCOTT (The story behind scott/tiger - the default login/pass for Oracle)
Set valid parameters in $KAFKA_HOME/config/connect-standalone.properties:
Create oracdc configuration file $KAFKA_HOME/config/oracdc-test01.properties:
Create oracdc startup script $KAFKA_HOME/bin/oracdc-test01.sh:
Run script created at previous stepIt's much easier to work with Confluent Platform, there are more configuration and tuning options but for start this is enough Feel free to contact me ([email protected]), in case of problems we can schedule a call using Google Meet or another conferencing tool. Regards, |
Beta Was this translation helpful? Give feedback.
Hi iamjavadev1,
The following steps need to be performed in order to prepare the Oracle database so the oracdc Connector can be used.
Enabling Oracle RDBMS ARCHIVELOG mode
Log in to SQL*Plus as SYSDBA and check results of query
If the query returns ARCHIVELOG, it is enabled. Skip ahead to Enabling supplemental log data.
If the query returns NOARCHIVELOG :
To verify that ARCHIVELOG has been enabled run again
This time it should return ARCHIVELOG
Enabling supplemental logging
Log in to SQL*Plus as SYSDBA, if you like to enable supplemental loggi…