MongoDb
MongoDB sink connector
Descriptionâ
Write data to MongoDB
Key featuresâ
Optionsâ
name | type | required | default value |
---|---|---|---|
uri | string | yes | - |
database | string | yes | - |
collection | string | yes | - |
common-options | no | - |
uri [string]â
uri to write to mongoDB
database [string]â
database to write to mongoDB
collection [string]â
collection to write to mongoDB
common optionsâ
Sink plugin common parameters, please refer to Sink Common Options for details
Exampleâ
mongodb {
uri = "mongodb://username:password@127.0.0.1:27017/mypost?retryWrites=true&writeConcern=majority"
database = "mydatabase"
collection = "mycollection"
}
Changelogâ
2.2.0-beta 2022-09-26â
- Add MongoDB Sink Connector