Skip to content

Commit 6864d58

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-13384: update heartbeat config descriptions (#78)
* DOCSP-13384: update heartbeat config descriptions
1 parent 28838f4 commit 6864d58

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

source/kafka-sink-properties.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ data to sink to MongoDB. For an example configuration file, see
9898
|
9999
| **Default**: ``false``
100100
| **Accepted Values**: ``true`` or ``false``
101-
101+
102102
* - document.id.strategy.uuid.format
103103
- string
104104
- | Whether the connector should output the UUID in the ``_id`` field as a string or in the `BsonBinary <https://mongodb.github.io/mongo-java-driver/4.1/apidocs/bson/org/bson/BsonBinary.html>`__ format.
@@ -238,7 +238,7 @@ data to sink to MongoDB. For an example configuration file, see
238238
- | The maximum number of tasks that should be created for this connector. The connector may create fewer tasks if it cannot handle the specified level of parallelism.
239239

240240
.. important:: Messages May Be Processed Out of Order For Values Greater Than 1
241-
241+
242242
If you specify a value greater than ``1``, the connector
243243
enables parallel processing of the tasks. If your topic has
244244
multiple partition logs (allows consumers to read from the
@@ -250,16 +250,21 @@ data to sink to MongoDB. For an example configuration file, see
250250
* - heartbeat.interval.ms
251251
- int
252252
- | The length of time in milliseconds between sending heartbeat
253-
messages to record the post batch resume token when no source
254-
records have been published. Improves the resumability of the
253+
messages. Heartbeat messages contain the post batch resume token
254+
and are sent when no source records have been published in the
255+
specified interval. This improves the resumability of the
255256
connector for low volume namespaces. Use ``0`` to disable.
256257
|
257258
| **Default**: ``0``
258259
| **Accepted Values**: An integer
259260

260261
* - heartbeat.topic.name
261262
- string
262-
- | The name of the topic to publish heartbeat messages to.
263+
- | The name of the topic to publish heartbeat messages to. To enable
264+
the heartbeat feature, you must provide a positive value in the
265+
``heartbeat.interval.ms`` setting. The user must consume
266+
messages on this topic to track the latest offset (post batch
267+
resume token).
263268
|
264269
| **Default**: ``__mongodb_heartbeats``
265270
| **Accepted Values**: A valid Kafka topic name

source/kafka-source.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ an example source connector configuration file, see
340340
escapes the following "." character in the regular expression.
341341
For more information on how to build regular expressions, see the
342342
`Java SE documentation on Patterns <https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html>`__.
343-
343+
344344
| **Default**: ""
345345
| **Accepted Values**: A valid regular expression
346346

@@ -421,18 +421,23 @@ an example source connector configuration file, see
421421

422422
* - heartbeat.interval.ms
423423
- int
424-
- The length of time in milliseconds between sending heartbeat messages to
425-
record a post batch resume token when no source records have been published.
426-
This can improve the resumability of the connector for low volume namespaces.
427-
Use ``0`` to disable.
428424

425+
- | The length of time in milliseconds between sending heartbeat
426+
messages. Heartbeat messages contain the post batch resume token
427+
and are sent when no source records have been published in the
428+
specified interval. This improves the resumability of the
429+
connector for low volume namespaces. Use ``0`` to disable.
429430
| **Default**: ``0``
430431
| **Accepted Values**: An integer
431432

432433
* - heartbeat.topic.name
433434
- string
434-
- The name of the topic to write heartbeat messages to.
435-
435+
- | The name of the topic to publish heartbeat messages to. To enable
436+
the heartbeat feature, you must provide a positive value in the
437+
``heartbeat.interval.ms`` setting. The connector must consume
438+
messages on this topic to track the latest offset (post batch
439+
resume token).
440+
|
436441
| **Default**: ``__mongodb_heartbeats``
437442
| **Accepted Values**: A valid Kafka topic name
438443

0 commit comments

Comments
 (0)