Skip to content

caevv/Cassandra-ElasticSearch-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Cassandra-ElasticSearch-sync

Sync Between Cassandra and ElasticSearch using Python

How to

Just python index.py on console

#How it works

It gets all data of Cassandra and then for getting just the date after the last Sync. On Elastic Search, the range date is already sorted.

After then, it will check against the rows of each one and look if the data exists in the other, if no, it will add to the one who don't have. If already exists, it will check the first one (the older), and then update the other with its datas.

###Know That The ID is a uuid4. The dates of syncing is saved on foo.txt

About

Sync Between Cassandra and ElasticSearch using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages