Skip to content

Commit 1709d88

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-10923: document UuidProvidedInKeyStrategy and UuidProvidedInValueStrategy strategies (#33)
1 parent 76ad66b commit 1709d88

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

source/kafka-sink-postprocessors.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class:
8484

8585
.. seealso:: :ref:`Renaming configuration <config-field-renaming>` and :ref:`Example <field-renaming-regex-example>`.
8686

87+
8788
You can configure the post processor chain by specifying an ordered,
8889
comma separated list of fully-qualified ``PostProcessor`` class names:
8990

@@ -154,6 +155,14 @@ provided with this connector:
154155
- | Full Path: ``com.mongodb.kafka.connect.sink.processor.id.strategy.PartialValueStrategy``
155156
| Uses a blocklist or allowlist projection of the value structure of the ``SinkDocument``.
156157
| Defaults to a blank document if no value exists.
158+
159+
* - UuidProvidedInKeyStrategy
160+
- | Full Path: ``com.mongodb.kafka.connect.sink.processor.id.strategy.UuidInKeyStrategy``
161+
| Converts the _id key field to a UUID. The value must be either a string or binary type and must conform to the `UUID format <https://en.wikipedia.org/wiki/Universally_unique_identifier#Format>`__.
162+
163+
* - UuidProvidedInValueStrategy
164+
- | Full Path: ``com.mongodb.kafka.connect.sink.processor.id.strategy.UuidInValueStrategy``
165+
| Converts the _id value field to a UUID. The value must be either a string or binary type and must conform to the `UUID format <https://en.wikipedia.org/wiki/Universally_unique_identifier#Format>`__.
157166

158167
* - UuidStrategy
159168
- | Full Path: ``com.mongodb.kafka.connect.sink.processor.id.strategy.UuidStrategy``

0 commit comments

Comments
 (0)