scylladb / scylla-cdc-go

Apache License 2.0
43 stars 11 forks source link

Infer ChangeAgeLimit from the TTL property of the CDC table #9

Open piodul opened 2 years ago

piodul commented 2 years ago

Each cdc-enabled table has a "cdc ttl" property which defines the TTL of the cdc log rows. Each row in the cdc log table disappears after that period of time - so there's no need to read changes which are older than that.

The library should take it into consideration:

cc: @avelanarius