I am trying to use CDC in Cassandra tried using incremental backup as mentioned in this link but the format of SSTables is very weired for the composite keys.Is there any way to implement CDC in cassandra. Any pointers will be very useful.
Asked
Active
Viewed 1,467 times
0
-
Did you try following http://architects.dzone.com/articles/cassandra-bulk-cdc-extract? – Don Branson Sep 19 '14 at 13:31
-
This is the same link that I have provided in Question.But I cant able to parse SSTable because it is different for composite keys as compared to single PK using sstable2json utility – Sachin Janani Sep 19 '14 at 13:39
-
Ah, sorry. Did sstable2json generate any json? Or any error messages? If so, please share. – Don Branson Sep 19 '14 at 13:47
-
sstable2json generates the json but for table with only one PK its gives different result and for composite key it generates different json.SO parsing is very difficult.Also can we load these incremental SSTable to some other table if yes then what will be its schema.Thanks for quick reply. – Sachin Janani Sep 19 '14 at 13:54
-
You need to share the complete info in the question - what you tried, how it failed. When you say that parsing the json is "very difficult" you should show (in the question) what you did to parse it and the problem you had. – Don Branson Sep 19 '14 at 14:12