Skip to content

Commit 235c752

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-9960: add documentation for topics.regex (#10)
* DOCSP-9960: add documentation for topics.regex
1 parent d396992 commit 235c752

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

source/kafka-sink-properties.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,20 @@ data to sink to MongoDB. For an example configuration file, see
3333

3434
* - topics
3535
- list
36-
- | A list of Kafka topics for the sink connector.
36+
- | A list of Kafka topics that the sink connector to watch.
3737
|
3838
| *Required*
39+
| **Note:** You can only define either ``topics`` or ``topics.regex``.
3940
| **Accepted Values**: A comma-separated list of valid Kafka topics
4041

42+
* - topics.regex
43+
- string
44+
- | A regular expression that matches the Kafka topics that the sink connector should watch.
45+
|
46+
| *Required*
47+
| **Note:** You can only define either ``topics`` or ``topics.regex``.
48+
| **Accepted Values**: A valid regular expression
49+
4150
* - connection.uri
4251
- string
4352
- | A :manual:`MongoDB connection URI string </reference/connection-string/#standard-connection-string-format>`.

0 commit comments

Comments
 (0)