I have a Cassandra cluster of 5 nodes with writeConsistency: LOCAL_QUORUM
. The cluster has TBs of Data. Now I need to migrate the data to a different keyspace
in the same cluster. Following is the requirement.
keyspace_1 --> read data --> transform --> insert in keyspace_2.
Now we can do that by some multi-instance microservices, where we can read the data from keyspace_1
, and then transform it and then insert it in the target keyspace.
But is there a better approach to it. I have found an article How to migrate data from Cassandra cluster of size N to a different cluster of size N+/-M. But here mainly the SSTable is getting transferred without any transformation. But I need a data transformation mechanism in between. Can anyone suggest me a good approach here/ someone did this type of activity earlier?