I'm trying to create a custom transform for Kafka CDC.I want running a replication between MySQL and MongoDB. I prefer when a row update/insert in MySQL database the records the related to that row (A hierarchy tree structure) corresponding complex JSON document(a hierarchy JSON document) update/insert in MongoDB. Can I implement custom transform for Debezium?
A custom transform for Debezium is no different from a custom SMT for Connect framework, ignoring the defined scehma of the Debezium event.
org.apache.kafka: connect-transforms
Transformation
interface.
provided
scope; for example, kafka-clients
or jackson
-related libraries.plugin.path
of the connect worker(s) configs.https://docs.confluent.io/platform/current/connect/transforms/custom.html