Skip to content

Commit b06cc39

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-16274: source connector regex example fix (#106)
1 parent e3f5540 commit b06cc39

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/kafka-source.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ an example source connector configuration file, see
464464
- | Name of topic to use as the dead letter queue. If blank, the connector
465465
does not write invalid messages to the dead letter queue. If a value is
466466
provided, the connector writes invalid messages to the dead letter
467-
queue as :manual:`extended JSON strings </reference/mongodb-extended-json/>`.
467+
queue as :manual:`extended JSON strings </reference/mongodb-extended-json/>`.
468468
|
469469
| **errors.tolerance** must be set to ``all`` to use this property.
470470
|
@@ -491,10 +491,10 @@ an example source connector configuration file, see
491491
change stream. The connector sends heartbeat messages when
492492
source records are not published in the specified interval.
493493
This improves the resumability of the connector for low volume
494-
namespaces. See the
494+
namespaces. See the
495495
:ref:`Invalid Resume Token section <source-invalid-resume-token>`
496496
of this page for more information on the problem this feature can help
497-
solve. Use ``0`` to disable.
497+
solve. Use ``0`` to disable.
498498
| **Default**: ``0``
499499
| **Accepted Values**: An integer
500500

@@ -591,7 +591,7 @@ ones in the collection named "customers":
591591

592592
.. code-block:: properties
593593

594-
"pipeline":[{"$match": {"ns.coll": {"$regex": "/^(?!customers\.).*/"}}}]
594+
"pipeline":[{"$match": {"ns.coll": {"$regex": "/^(?!customers$).*/"}}}]
595595

596596
For more information on how to build regular expressions, see the
597597
`Java SE documentation on Patterns <https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html>`__.
@@ -744,6 +744,6 @@ workers and listen to the change stream.
744744
MongoDB namespace being infrequently updated, consider enabling the heartbeat
745745
feature. This feature periodically updates the Change stream resume token to the current entry in
746746
your MongoDB Oplog if no updates occurred in your source MongoDB namespace.
747-
To learn how to enable heartbeats, see the
747+
To learn how to enable heartbeats, see the
748748
:ref:`Source Connector Configuration Properties section <source-connector-configuration-properties>`.
749-
749+

0 commit comments

Comments
 (0)