0.1.5 • Published 5 years ago

rethinkdb-elasticsearch-sync v0.1.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 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

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago