Skip to content

Commit 9e3ffdc

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-10924: add new id strategy configuration - overwrite existing (#34)
1 parent efd1b21 commit 9e3ffdc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/kafka-sink-properties.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ data to sink to MongoDB. For an example configuration file, see
9393
| **Default**: ``com.mongodb.kafka.connect.sink.processor.id.strategy.BsonOidStrategy``
9494
| **Accepted Values**: An empty string or a fully qualified Java class name
9595

96+
* - document.id.strategy.overwrite.existing
97+
- boolean
98+
- | Whether the connector should overwrite existing values in the ``_id`` field when the strategy defined in ``document.id.strategy`` is applied.
99+
|
100+
| **Default**: ``true``
101+
| **Accepted Values**: ``true`` or ``false``
102+
96103
* - delete.on.null.values
97104
- boolean
98105
- | Whether the connector should delete documents with matching key values when value is null.

0 commit comments

Comments
 (0)