blob: 72f291a4cdadba8c3add9a8a3a565452be820e91 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.mongodbsource.CamelMongodbsourceSourceConnector",
"artifactId": "camel-mongodb-source-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-mongodb-source-source",
"type": "source",
"version": "3.19.0-SNAPSHOT",
"description": "Consume data from MongoDB.\n\nIf you enable the `persistentTailTracking` property, the consumer keeps track of the last consumed message and, on the next restart, the consumption restarts from that message. If you enable `persistentTailTracking`, you must provide a value for the `tailTrackIncreasingField` property (by default it is optional).\n\nIf you disable the `persistentTailTracking` property, the consumer consumes the whole collection and waits in idle for new data to consume.\n\nThe collection that provides the data must be a capped collection."
},
"properties": {
"camel.kamelet.mongodb-source.hosts": {
"name": "camel.kamelet.mongodb-source.hosts",
"description": "A comma-separated list of MongoDB host addresses in `host:port` format.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-source.collection": {
"name": "camel.kamelet.mongodb-source.collection",
"description": "The name of the MongoDB collection to bind to this endpoint.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-source.password": {
"name": "camel.kamelet.mongodb-source.password",
"description": "The user password for accessing MongoDB.",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-source.username": {
"name": "camel.kamelet.mongodb-source.username",
"description": "The username for accessing MongoDB. The username must be present in the MongoDB's authentication database (`authenticationDatabase`). By default, the MongoDB `authenticationDatabase` is 'admin'.",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-source.database": {
"name": "camel.kamelet.mongodb-source.database",
"description": "The name of the MongoDB database.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-source.persistentTailTracking": {
"name": "camel.kamelet.mongodb-source.persistentTailTracking",
"description": "Specifies to enable persistent tail tracking, which is a mechanism to keep track of the last consumed data across system restarts. The next time the system is up, the endpoint recovers the cursor from the point where it last stopped consuimg data. This option will only work on capped collections.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-source.tailTrackIncreasingField": {
"name": "camel.kamelet.mongodb-source.tailTrackIncreasingField",
"description": "The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated.",
"priority": "MEDIUM",
"required": "false"
}
}
}