Reputation: 802
Im using Confluent Kafka and Debezium Postgres Connector in Confluent Control Center to CDC to a Kafka Topic. I see that on delete event Debezium creates two records in the topic.
I would like to avoid Debezium from writing the First record with Key filled and value as null .
I tried setting following property in the Connector :
tombstones.on.delete=false
But this doesnt seen to have any effect.
Upvotes: 0
Views: 3275
Reputation: 21
I have the same settings but I run kafka connect in local.
I solved it by using ‘ TombstoneHandler’: https://docs.confluent.io/platform/current/connect/transforms/tombstonehandler.html
Upvotes: 2