Support is provided by IBM
To use the MongoDB source connector, complete the following steps:
-
Create a
KafkaConnect
custom resource to define your Kafka Connect runtime and include the MongoDB 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.
-
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.