camel-mongodb-changes-stream-source-kafka-connector source configuration
Connector Description: Consume Changes from MongoDB Collection in streaming mode.
When using camel-mongodb-changes-stream-source-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-mongodb-changes-stream-source-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this source connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.mongodbchangesstreamsource.CamelMongodbchangesstreamsourceSourceConnector
The camel-mongodb-changes-stream-source source connector supports 6 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required Comma separated list of MongoDB Host Addresses in host:port format. |
HIGH |
||
Required Sets the name of the MongoDB collection to bind to this endpoint. |
HIGH |
||
User password for accessing MongoDB. |
MEDIUM |
||
Username for accessing MongoDB. The username must be present in the MongoDB’s authentication database (authenticationDatabase). By default, the MongoDB authenticationDatabase is 'admin'. |
MEDIUM |
||
Required Sets the name of the MongoDB database to target. |
HIGH |
||
Filter condition for change streams consumer. Example: \{ '$match':\{'$or':[\{'fullDocument.stringValue': 'specificValue'}]} }. |
MEDIUM |
The camel-mongodb-changes-stream-source source connector has no converters out of the box.
The camel-mongodb-changes-stream-source source connector has no transforms out of the box.
The camel-mongodb-changes-stream-source source connector has no aggregation strategies out of the box.