scylladb / scylla-cdc-source-connector

A Kafka source connector capturing Scylla CDC changes
Apache License 2.0
48 stars 18 forks source link

Adding option to push only post image events to kafka #24

Open chiragb1994 opened 2 years ago

chiragb1994 commented 2 years ago

I have added an option to stream only the postimage events to Kafka.

Use case: I have enabled preimage (full) on my table and postimage (true). The postimage event is created in CDC table but not streamed to Kafka. This event is needed (the latest state of the row) to be able to stream it into a different database.

Relates to issue: https://github.com/scylladb/scylla-cdc-source-connector/issues/8