Skip to content

Commit

Permalink
Merge pull request #164 from mcmorisi/DOCSP-38228-debezium-cdc
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmorisi committed Jun 11, 2024
1 parent b184282 commit 2f5e707
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/includes/fundamentals/cdc/debezium.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ CDC events from each of the preceding datastores:
database=<your mongodb database>
collection=<your mongodb collection>
topics=<topic containing debezium cdc events>
change.data.capture.handler=com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.MongoDbHandler
change.data.capture.handler=com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.ChangeStreamHandler
.. note::

If you are using a Debezium CDC version earlier than 2.0, set the value of the
``change.data.capture.handler`` property to ``com.mongodb.kafka.connect.sink.cdc.debezium.mongodb.MongoDbHandler``.

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

0 comments on commit 2f5e707

Please sign in to comment.