How to transfer data from cassandra table?

I would like to transfer data from a cassandra table, which is updated in real time. Yes, this is a database, but is there a way to do this? If so, preserving the offset or what CQL queries can I use?

+5
source share
1 answer

The short answer is no.

A long answer with great complexity and clever clustering keys, you can do it. Basically, if you insert data with a clustering key that is always increasing, you can always just scan the clustering keys in a recent time period. This, of course, will skip custom inserts outside of your window. This may or may not be good enough for your use case.

The best answer in the future is Data Capture: https://issues.apache.org/jira/browse/CASSANDRA-8844

+5
source

Source: https://habr.com/ru/post/1244154/


All Articles