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
@@ -76,5 +76,4 @@ Update Post Processor Subclasses
76
76
If you have classes that subclass a post processor in your Kafka Connect
77
77
connector deployment, update methods that override ones in the Kafka Connect
78
78
``PostProcessor`` class to match the method signatures of the MongoDB Kafka
79
-
connector :github:`PostProcessor class <mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/processor/PostProcessor.java>`.
80
-
79
+
connector :github:`PostProcessor class <mongodb/mongo-kafka/blob/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/processor/PostProcessor.java>`.
Copy file name to clipboardExpand all lines: source/sink-connector/fundamentals/change-data-capture.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -90,10 +90,10 @@ If none of the prebuilt CDC handlers fit your use case, you can create your own.
90
90
Your custom CDC handler is a Java class that implements the ``CdcHandler`` interface.
91
91
92
92
To learn more, see the
93
-
:github:`source code for the CdcHandler interface <mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/cdc/CdcHandler.java>`.
93
+
:github:`source code for the CdcHandler interface <mongodb/mongo-kafka/blob/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/cdc/CdcHandler.java>`.
94
94
95
95
To view examples of CDC handler implementations, see
96
-
:github:`the source code for the prebuilt CDC handlers <mongodb/mongo-kafka/tree/master/src/main/java/com/mongodb/kafka/connect/sink/cdc>`.
96
+
:github:`the source code for the prebuilt CDC handlers <mongodb/mongo-kafka/tree/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/cdc>`.
@@ -323,7 +323,8 @@ Create a Custom Document Id Strategy
323
323
If the built-in document id adder strategies do not cover your use case,
324
324
you can define a custom document id strategy by following the steps below:
325
325
326
-
1. Create a Java class that implements the interface `IdStrategy <https://github.com/mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/processor/id/strategy/IdStrategy.java>`__
326
+
1. Create a Java class that implements the interface
#. Override the ``process()`` method in your class. You can update the
@@ -871,5 +873,4 @@ a custom post processor class using the following steps:
871
873
configuration.
872
874
873
875
For example post processors, you can browse the
874
-
`source code for the built-in post processor classes <https://github.com/mongodb/mongo-kafka/tree/master/src/main/java/com/mongodb/kafka/connect/sink/processor>`__.
875
-
876
+
:github:`source code for the built-in post processor classes <mongodb/mongo-kafka/tree/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/processor>`.
Copy file name to clipboardExpand all lines: source/sink-connector/fundamentals/write-strategies.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ To learn more about bulk writes, see the MongoDB Java driver
35
35
`guide on bulk writes <{+connector_driver_url_base+}fundamentals/crud/write-operations/bulk/>`__.
36
36
37
37
To learn how write model strategies work in the connector, see
38
-
:github:`this section of the {+mkc+} source code <mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/writemodel/strategy/InsertOneDefaultStrategy.java>`.
38
+
:github:`this section of the {+mkc+} source code <mongodb/mongo-kafka/blob/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/writemodel/strategy/InsertOneDefaultStrategy.java>`.
39
39
40
40
To learn more about strategies, see the
41
41
`Wikipedia article on the strategy pattern <https://en.wikipedia.org/wiki/Strategy_pattern>`__.
@@ -295,7 +295,7 @@ Your custom write model strategy is a Java class that implements the
295
295
``WriteModelStrategy`` interface and overrides the ``createWriteModel()`` method.
296
296
297
297
To learn more, see the
298
-
:github:`source code for the WriteModelStrategy interface <mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/writemodel/strategy/WriteModelStrategy.java>`.
298
+
:github:`source code for the WriteModelStrategy interface <mongodb/mongo-kafka/blob/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/writemodel/strategy/WriteModelStrategy.java>`.
0 commit comments