You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple script to transfer documents between two elasticsearch servers or between indices of the same elasticsearch server.
2
+
Simple Node.js script to transfer documents between two elasticsearch servers or between indices of the same elasticsearch server.
3
+
4
+
Implementation based on [consumer-producer problem][3].
5
+
Since Node.js is single-threaded, `producer` and `consumer` cannot simultaneously access the `buffer`. And hence, as long as the asynchronous nature of Node.js is handled properly, there shouldn't be any issues related to concurrency.
6
+
7
+
### Usage:
8
+
1. Clone the repo.
9
+
2. Run `npm install` in the directory.
10
+
3. Add `config.js` using [`config-sample.js`][1]
11
+
4. (Optional) Set appropriate values in [`options.js`][2]
0 commit comments