From 4700fb0eb2806abecbf279cdf2f59b6a0cf9a960 Mon Sep 17 00:00:00 2001 From: Kailie Yuan Date: Thu, 21 Nov 2024 14:52:12 -0500 Subject: [PATCH 1/3] added v1.14 rn and new sink processor --- config/redirects | 2 +- snooty.toml | 2 +- .../sink-connector/fundamentals/post-processors.txt | 11 +++++++++++ source/whats-new.txt | 8 ++++++++ 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/config/redirects b/config/redirects index 0fd7acf9..46b7a6f0 100644 --- a/config/redirects +++ b/config/redirects @@ -1,7 +1,7 @@ define: prefix docs/kafka-connector define: base https://www.mongodb.com/${prefix} -define: versions v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 master +define: versions v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 6994cbb7..06d14a3a 100644 --- a/snooty.toml +++ b/snooty.toml @@ -27,7 +27,7 @@ avro = "Avro" avro-converter = "Kafka Connect Avro Converter (Avro Converter)" protobuf-converter = "Kafka Connect Protobuf Converter" json-schema-converter = "Kafka Connect JSON Schema Converter" -connector_version = "1.13" +connector_version = "1.14" connector_patch_version = "1" connector_driver_version = "4.7" connector_version_github_tag = "master" diff --git a/source/sink-connector/fundamentals/post-processors.txt b/source/sink-connector/fundamentals/post-processors.txt index 02cbfb60..969d1ecc 100644 --- a/source/sink-connector/fundamentals/post-processors.txt +++ b/source/sink-connector/fundamentals/post-processors.txt @@ -187,6 +187,17 @@ sink connector. | For information on configuration, see the :ref:`Renaming by Regular Expression Example `. + * - | **NullFieldValueRemover** + - | **Full Path:** + + .. code-block:: none + + com.mongodb.kafka.connect.sink.processor.NullFieldValueRemover`` + + | Removes all null fields from the sink record. + | For more information on configuration, see the + :ref:`Allow List and Block List Examples `. + .. _sink-post-processors-document-id-adder: Configure the Document Id Adder Post Processor diff --git a/source/whats-new.txt b/source/whats-new.txt index d9fd3698..14d4d46f 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -17,6 +17,14 @@ What's New .. meta:: :keywords: bug fix, features +.. _kafka-connector-whats-new-1.14: + +What's New in 1.14 +------------------ + +- Added support for removing all null valued fields in the output with the + ``NullFieldValueRemover`` post processor. + .. _kafka-connector-whats-new-1.13.1: What's New in 1.13.1 From ed181814693e29cb908d284da54f47c7264bcd62 Mon Sep 17 00:00:00 2001 From: Kailie Yuan Date: Thu, 21 Nov 2024 15:30:24 -0500 Subject: [PATCH 2/3] proofread --- source/whats-new.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/whats-new.txt b/source/whats-new.txt index 14d4d46f..975d377b 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -23,7 +23,8 @@ What's New in 1.14 ------------------ - Added support for removing all null valued fields in the output with the - ``NullFieldValueRemover`` post processor. + ``NullFieldValueRemover`` prebuilt post processor. To learn more, see + :ref:`sink-post-processors-prebuilt-list`. .. _kafka-connector-whats-new-1.13.1: From 16dd1ba1f1868f17b9c6776de6019f0d048903ea Mon Sep 17 00:00:00 2001 From: Kailie Yuan Date: Thu, 21 Nov 2024 15:41:49 -0500 Subject: [PATCH 3/3] CN suggestions --- source/sink-connector/fundamentals/post-processors.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/sink-connector/fundamentals/post-processors.txt b/source/sink-connector/fundamentals/post-processors.txt index 969d1ecc..8beb0a09 100644 --- a/source/sink-connector/fundamentals/post-processors.txt +++ b/source/sink-connector/fundamentals/post-processors.txt @@ -194,9 +194,7 @@ sink connector. com.mongodb.kafka.connect.sink.processor.NullFieldValueRemover`` - | Removes all null fields from the sink record. - | For more information on configuration, see the - :ref:`Allow List and Block List Examples `. + | Removes all document fields that contain ``null`` values from the sink record. .. _sink-post-processors-document-id-adder: