rethinkdb-elasticsearch-stream
🔄 sync RethinkDB tables to Elasticsearch using changefeeds
A JavaScript-based replacement for the deprecated Elasticsearch RethinkDB River plugin. This can populate your Elasticsearch instance using data from a RethinkDB instance, keep it up to date using changefeeds, and allow you to modify the documents before they're copied.
✨ Features:
- Simple: specify connections and tables to copy as-is to Elasticsearch
- Flexible: accepts a transform function for each table to modify what's copied
- Tested
Usage
Simple example:
await ;
Everything:
await ;
Install
With Yarn or npm installed, run:
yarn add rethinkdb-elasticsearch-stream # ...or, if using `npm` npm install rethinkdb-elasticsearch-stream
See Also
rethinkdb-elasticsearch-stream was inspired by:
License
MIT