Hello, I am trying to capture the changed data inside a document using the Kafka Connector. For example if my document is {
“name”:“karthik”,
“age”:35
} and age changes to 36, the topic has the whole document under content key. Is there a way I can get the whole document as well as only the fields that have changed? Just Like what happens with DynamoDB Streams!!
Hi Karthik,
Unfortunately the connector has no way of knowing which fields changed. If you need to identify which fields changed, the only way to do that today is to store the previous version of the document and compare it against the new version yourself.
Thanks,
David