blob: 56e1d1eee1c3445bd1bf6ebf5a00d87d6eb6bcd9 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.mongodbsink.CamelMongodbsinkSinkConnector",
"artifactId": "camel-mongodb-sink-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-mongodb-sink-sink",
"type": "sink",
"version": "3.20.1-SNAPSHOT",
"description": "Send data to MongoDB.\n\nThis Kamelet expects a JSON-formatted body.\n\nIn the header, you can set the `db-upsert` \/ `ce-dbupsert` property, a boolean value that specifies whether the database should create an element if it does not exist."
},
"properties": {
"camel.kamelet.mongodb-sink.hosts": {
"name": "camel.kamelet.mongodb-sink.hosts",
"description": "A comma-separated list of MongoDB host addresses in `host:port` format.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-sink.collection": {
"name": "camel.kamelet.mongodb-sink.collection",
"description": "The name of the MongoDB collection to bind to this endpoint.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-sink.password": {
"name": "camel.kamelet.mongodb-sink.password",
"description": "A user password for accessing MongoDB.",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-sink.username": {
"name": "camel.kamelet.mongodb-sink.username",
"description": "A username for accessing MongoDB.",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-sink.ssl": {
"name": "camel.kamelet.mongodb-sink.ssl",
"description": "whether to enable ssl connection to mongodb",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-sink.sslValidationEnabled": {
"name": "camel.kamelet.mongodb-sink.sslValidationEnabled",
"description": "IMPORTANT this should be disabled only in test environment since can pose security issues.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-sink.database": {
"name": "camel.kamelet.mongodb-sink.database",
"description": "The name of the MongoDB database.",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mongodb-sink.writeConcern": {
"name": "camel.kamelet.mongodb-sink.writeConcern",
"description": "The level of acknowledgment requested from MongoDB for write operations.",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mongodb-sink.createCollection": {
"name": "camel.kamelet.mongodb-sink.createCollection",
"description": "Create a collection during initialization if it doesn't exist.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
}
}
}