You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can override the default write model by specifying a custom one in the
@@ -674,8 +680,9 @@ strategies are provided with the connector:
674
680
- | Replaces at most one document that matches filters provided by the ``document.id.strategy`` setting.
675
681
| Set the following configuration: ``writemodel.strategy=com.mongodb.kafka.connect.sink.writemodel.strategy.ReplaceOneBusinessKeyStrategy``
676
682
677
-
.. seealso:: Example of usage in :ref:`writemodel-strategy-business-key`.
683
+
.. seealso::
678
684
685
+
Example of usage in :ref:`writemodel-strategy-business-key`.
679
686
* - DeleteOneDefaultStrategy
680
687
- | Deletes at most one document that matches the id specified by the ``document.id.strategy`` setting, only when the document contains a null value record.
681
688
| Implicitly specified when the configuration setting ``mongodb.delete.on.null.values=true`` is set.
@@ -685,8 +692,9 @@ strategies are provided with the connector:
685
692
- | Add ``_insertedTS`` (inserted timestamp) and ``_modifiedTS`` (modified timestamp) fields into documents.
686
693
| Set the following configuration: ``writemodel.strategy=com.mongodb.kafka.connect.sink.writemodel.strategy.UpdateOneTimestampsStrategy``
687
694
688
-
.. seealso:: Example of usage in :ref:`writemodel-strategy-timestamps`.
695
+
.. seealso::
689
696
697
+
Example of usage in :ref:`writemodel-strategy-timestamps`.
690
698
* - UpdateOneBusinessKeyTimestampStrategy
691
699
- | Add ``_insertedTS`` (inserted timestamp) and ``_modifiedTS`` (modified timestamp) fields into documents that match the filters provided by the ``document.id.strategy`` setting.
692
700
| Set the following configuration: ``writemodel.strategy=com.mongodb.kafka.connect.sink.writemodel.strategy.UpdateOneBusinessKeyTimestampStrategy``
@@ -242,8 +234,7 @@ data to sink to MongoDB. For an example configuration file, see
242
234
- int
243
235
- | The maximum number of tasks that should be created for this connector. The connector may create fewer tasks if it cannot handle the specified level of parallelism.
244
236
245
-
.. admonition:: Messages May Be Processed Out of Order For Values Greater Than 1
246
-
:class: important
237
+
.. important:: Messages May Be Processed Out of Order For Values Greater Than 1
247
238
248
239
If you specify a value greater than ``1``, the connector
249
240
enables parallel processing of the tasks. If your topic has
0 commit comments