https://github.com/douglascamata/db_sync
A simple test to synchronize a Cassandra and an Elastic Search.
https://github.com/douglascamata/db_sync
Last synced: about 1 month ago
JSON representation
A simple test to synchronize a Cassandra and an Elastic Search.
- Host: GitHub
- URL: https://github.com/douglascamata/db_sync
- Owner: douglascamata
- Created: 2015-02-18T21:12:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-18T23:24:44.000Z (over 10 years ago)
- Last Synced: 2025-04-08T10:04:01.047Z (3 months ago)
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Requirements
- Python 3.4.x
- ElasticSearch installed and running on default port
- Cassandra installed and running on default port# Run instructions
Install the package with `python setup.py install` and to run the daemon execute `python db_sync_daemon.py start`.
By default, the daemon will synchronize the databases each 5 seconds. You can change this by passing the command-line argument `--time` with the number of seconds you want to poll the databases, for example, the following command will synchronize the databases each 10 seconds:
`python db_sync_daemon.py start --time 10`
To stop, you may use `python db_sync_daemon.py stop`.