Support is provided by IBM
To use the Oracle (Debezium) source connector, complete the following steps:
-
Ensure that an Oracle database is set up for use with the LogMiner adapter.
-
Create a
KafkaConnectcustom resource to define your Kafka Connect runtime and include the Oracle (Debezium) source connector by following the instructions in setting up and running connectors:When adding the connector to your Kafka Connect runtime, click Get connector to obtain the pre-built connector JAR file, or click Source code if you want to build the connector JAR file yourself.
To obtain the connector JAR file, go to the connector Maven repository, open the directory for the latest version, and download the file ending with
-plugin.tar.gz. -
Apply the configured
KafkaConnectcustom resource to start the Kafka Connect runtime and verify that the connector is available for use. -
Create a
KafkaConnectorcustom resource to define your connector configuration:Specify the class name and configuration properties for the connector in the
KafkaConnectorcustom resource as described in the connector documentation.See the following sample
KafkaConnectorcustom resource for a basic username and password connection:apiVersion: eventstreams.ibm.com/v1beta2 kind: KafkaConnector metadata: name: <connector_name> labels: eventstreams.ibm.com/cluster: <kafka_connect_name> spec: class: io.debezium.connector.oracle.OracleConnector config: database.server.name: <name_of_the_oracle_server_or_cluster> plugin.name: pgoutput database.hostname: <ip_address_or_hostname_of_the_oracle_database_server> database.dbname: <database_name> database.user: <database_user_name> database.password: <database_user_password> database.port: <port_number_for_database_server> schema.history.internal.kafka.topic: <name_of_the_kafka_topic> schema.history.internal.kafka.bootstrap.servers: <bootstrap_server_address> tasksMax: 1 -
Apply the configured
KafkaConnectorcustom resource to start the connector and verify that it is running.