aws-samples / cql-replicator

CQLReplicator is a migration tool that helps you to replicate data from Cassandra to AWS Services
Apache License 2.0
15 stars 8 forks source link

Add support for restricting data replication process by multiple allowed ranges #138

Open nwheeler81 opened 6 months ago

nwheeler81 commented 6 months ago

Describe the solution you'd like Add support for multiple token ranges to restrict the traffic from the source database.

{ "replication": { "filteringByTokenRanges": { "enabled": true, "tokenRanges": [ "-37428734287263482764, 847284789273498724", "-876482736478264","3094820934887347"] }, "pointInTimeReplicationConfig": { "predicateOp": "greaterThan" }, "columns":["pcdkey","tenantkey","payload"], "useCustomSerializer": false, "useMaterializedView": { "enabled": false, "mvName": "mvName" } }, "keyspaces": { "compressionConfig": { "enabled": false, "compressAllNonPrimaryColumns": false, "compressNonPrimaryColumns": [""], "targetNameColumn": "" } } }