confluentinc / bottledwater-pg

Change data capture from PostgreSQL into Kafka
http://blog.confluent.io/2015/04/23/bottled-water-real-time-integration-of-postgresql-and-kafka/
Apache License 2.0
2 stars 0 forks source link

Allow initial snapshot to be skipped #112

Closed kinghuang closed 7 years ago

kinghuang commented 7 years ago

It would be useful to have an option to skip the initial snapshot. In the case where the database tables contain log and event records and I am able to configure Bottled Water for inserts and updates (see #111), I might not care for a snapshot of existing rows representing past data (related to #110). In this case, I'd like Bottled Water to just send new rows to Kafka.

samstokes commented 7 years ago

I added a --skip-snapshot flag recently that does exactly this :) See #103.

kinghuang commented 7 years ago

Awesome, @samstokes! I guess I should read through the recent PRs to catch new goodies. 👍