Skip to content

Commit dfb2b6c

Browse files
committed
Merge pull request #6 from voldern/v0.2.0
v0.2.0
2 parents f4b8eac + 8a0e3a3 commit dfb2b6c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [0.2.0] - 2016-03-09
6+
### Added
7+
- `flushTimeout` option what will flush records in the queue after
8+
given time interval if highWaterMark hasn't been reached
9+
510
## [0.1.2] - 2015-11-16
611
### Fixed
712
- Log right amount of records. The records count that was logged was

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ A simple wrapper around Elasticsearch for bulk writing items
99
| client | <code>Elasticsearch.Client</code> | | Elasticsearch client |
1010
| options | <code>Object</code> | | Options |
1111
| [options.highWaterMark] | <code>number</code> | <code>16</code> | Number of items to buffer before writing. Also the size of the underlying stream buffer. |
12+
| [options.flushTimeout] | <code>number</code> | <code></code> | Number of ms to flush records after, if highWaterMark hasn't been reached |
1213
| [options.logger] | <code>Object</code> | | Instance of a logger like bunyan or winston |
1314

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "elasticsearch-bulk-index-stream",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"description": "A writable stream for bulk indexing records in Elasticsearch",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)