File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
source/source-connector/usage-examples Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,12 @@ to your ``pipeline`` setting:
59
59
60
60
.. important::
61
61
62
- Make sure that the results of the pipeline contain the top-level ``_id``
63
- field of the ``payload`` object, which MongoDB uses as the value of the
64
- :manual:`resume token </changeStreams/#resume-a-change-stream>`.
65
-
62
+ Make sure that the results of the pipeline contain the top-level
63
+ ``_id`` and ``ns`` fields of the ``payload`` object. MongoDB uses
64
+ ``id`` as the value of the :manual:`resume token
65
+ </changeStreams/#resume-a-change-stream>`, and ``ns`` to generate the
66
+ Kafka output topic name.
67
+
66
68
When the application inserts the sample document, your configured
67
69
connector publishes the following record to your Kafka topic:
68
70
You can’t perform that action at this time.
0 commit comments