Docs Menu

Docs HomeMongoDB Kafka Connector

MongoDB Namespace Mapping Configuration Properties

On this page

  • Overview
  • Settings

Use the following configuration settings to specify to which MongoDB database and collection your sink connector writes data.

For a list of sink connector configuration settings organized by category, see the guide on Sink Connector Configuration Properties.

Name
Description
database
Required

Type: string

Description:
The name of the MongoDB database to which the sink connector writes.

Accepted Values: A MongoDB database name
collection
Required

Type: string

Description:
The name of the MongoDB collection to which the sink connector writes. If your sink connector follows multiple topics, this is the default collection for any writes that are not otherwise specified.

Accepted Values: A MongoDB collection name
←  MongoDB Connection Configuration PropertiesKafka Topic Properties →

On this page