Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.32 KB

File metadata and controls

57 lines (37 loc) · 1.32 KB

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:[email protected]:27017/mypost?retryWrites=true&writeConcern=majority"
    database = "mydatabase"
    collection = "mycollection"
}

Changelog

2.2.0-beta 2022-09-26

  • Add MongoDB Sink Connector