datastax / cdc-apache-cassandra

Datastax CDC for Apache Cassandra
Apache License 2.0
35 stars 21 forks source link

Add cassandra-cdc backfill command as a Pulsar Admin Extension #120

Closed aymkhalil closed 1 year ago

aymkhalil commented 1 year ago

This patch adds initial support for running backfill-cli as a pulsar admin extension. I tested the happy path locally using the LS2.10_3 tarball:

bin/pulsar-admin cassandra-cdc backfill --data-dir target/export --export-host 127.0.0.1:9042 --export-username cassandra --export-password cassandra --keyspace ks1 --table sample4

in the client.conf I added the following line:

customCommandFactories=cassandra-cdc

Implementation notes: