Support is provided by IBM
To use the JDBC sink connector, complete the following steps:
-
Create a
KafkaConnect
custom resource to define your Kafka Connect runtime and include the JDBC sink 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.
Add connector dependencies to your Kafka Connect environment. For example, the Oracle JDBC driver is required when connecting to Oracle databases.
-
Apply the configured
KafkaConnect
custom resource to start the Kafka Connect runtime and verify that the connector is available for use. -
Create a
KafkaConnector
custom resource to define your connector configuration:Specify the class name and configuration properties for the connector in the
KafkaConnector
custom resource as described in the connector documentation. -
Apply the configured
KafkaConnector
custom resource to start the connector and verify that it is running.