From 3eb719352d812ee8642abafa77319ad314b5150a Mon Sep 17 00:00:00 2001 From: Lander McFall Kerbey Date: Fri, 16 Aug 2024 14:15:46 -0400 Subject: [PATCH] (DOCSP-42593) Add info about necessity of ns field. --- .../usage-examples/custom-pipeline.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/source-connector/usage-examples/custom-pipeline.txt b/source/source-connector/usage-examples/custom-pipeline.txt index 3c74745c..cd332255 100644 --- a/source/source-connector/usage-examples/custom-pipeline.txt +++ b/source/source-connector/usage-examples/custom-pipeline.txt @@ -59,10 +59,12 @@ to your ``pipeline`` setting: .. important:: - Make sure that the results of the pipeline contain the top-level ``_id`` - field of the ``payload`` object, which MongoDB uses as the value of the - :manual:`resume token `. - + Make sure that the results of the pipeline contain the top-level + ``_id`` and ``ns`` fields of the ``payload`` object. MongoDB uses + ``id`` as the value of the :manual:`resume token + ` and ``ns`` to generate the + Kafka output topic name. + When the application inserts the sample document, your configured connector publishes the following record to your Kafka topic: