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 | - | 
uri [string]
uri to write to mongoDB
database [string]
database to write to mongoDB
collection [string]
collection to write to mongoDB
Example
mongodb {
    uri = "mongodb://username:password@127.0.0.1:27017/mypost?retryWrites=true&writeConcern=majority"
    database = "mydatabase"
    collection = "mycollection"
}