Skip to content

Commit 2f5e707

Browse files
committed
Merge pull request #164 from mcmorisi/DOCSP-38228-debezium-cdc
1 parent b184282 commit 2f5e707

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/includes/fundamentals/cdc/debezium.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ CDC events from each of the preceding datastores:
2525
database=<your mongodb database>
2626
collection=<your mongodb collection>
2727
topics=<topic containing debezium cdc events>
28-
change.data.capture.handler=com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.MongoDbHandler
28+
change.data.capture.handler=com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.ChangeStreamHandler
29+
30+
.. note::
31+
32+
If you are using a Debezium CDC version earlier than 2.0, set the value of the
33+
``change.data.capture.handler`` property to ``com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.MongoDbHandler``.
2934

3035
To view the source code for the Debezium CDC handler, see
3136
:github:`the {+connector+} source code </mongodb/mongo-kafka/tree/{+connector_version_github_tag+}/src/main/java/com/mongodb/kafka/connect/sink/cdc/debezium>`.

0 commit comments

Comments
 (0)