0.1.5 • Published 4 years ago

rethinkdb-elasticsearch-sync v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

rethinkdb-elasticsearch-sync

Command-line utility that synchronizes RethinkDB database into an ElasticSearch service.

Characteristics:

  • Listens to changes on all tables on a RethinkDB database.
  • Supports the creation of new tables.
  • Sends the document as is to Elastic Search.
  • Maps a table in RethinkDB to an index on ElasticSearch.
  • Outputs logs in JSON format

Install

$ npm install rethinkdb-elasticsearch-sync

Run

$ rethinkdb-elasticsearch-sync

Environment variables

RethinkDB access options:

  • RETHINKDB_HOST
  • RETHINKDB_PORT
  • RETHINKDB_DB
  • RETHINKDB_USER
  • RETHINKDB_PASSWORD

ElasticSearch options:

  • ELASTICSEARCH_URI
  • ELASTICSEARCH_USER
  • ELASTICSEARCH_PASSWORD
  • ELASTICSEARCH_API_KEY

Test

To run tests locally you need Docker-compose installed (so that it starts RethinkDB and ElasticSearch and runs the tests inside a container connected to those two).

$ npm test

License

MIT

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago