Docs Home → MongoDB Kafka Connector
Kafka Topic Properties
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of the MongoDB Kafka Connector.
Overview
Use the following configuration settings to specify which Kafka topics the sink connector should watch for data.
For a list of sink connector configuration settings organized by category, see the guide on Sink Connector Configuration Properties.
Settings
Name | Description | |
---|---|---|
topics | Required Type: list Description: A list of Kafka topics that the sink connector watches. NoteYou can define either the Accepted Values: A comma-separated list of valid Kafka topics | |
topics.regex | Required Type: string Description: A regular expression that matches the Kafka topics that the sink
connector watches. Example
This regex matches topic names such as "activity.landing.clicks" and "activity.support.clicks". It does not match the topic names "activity.landing.views" and "activity.clicks". NoteYou can define either the Accepted Values: A valid regular expression pattern using java.util.regex.Pattern . |