Skip to content

Commit da5540b

Browse files
committed
DOCSP-38228: Debezium configuration property update
1 parent 5f9a922 commit da5540b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/includes/fundamentals/cdc/debezium.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ 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=change.data.capture.handler=com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.ChangeStreamHandler
29+
30+
.. note::
31+
If you are using a Debezium CDC version earlier than 2.0, set the value of the
32+
``change.data.capture.handler`` property to ``com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.MongoDbHandler``.
2933

3034
To view the source code for the Debezium CDC handler, see
3135
: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)