Skip to content

Commit

Permalink
Merge pull request #6 from voldern/v0.2.0
Browse files Browse the repository at this point in the history
v0.2.0
  • Loading branch information
voldern committed Mar 9, 2016
2 parents f4b8eac + 8a0e3a3 commit dfb2b6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.2.0] - 2016-03-09
### Added
- `flushTimeout` option what will flush records in the queue after
given time interval if highWaterMark hasn't been reached

## [0.1.2] - 2015-11-16
### Fixed
- Log right amount of records. The records count that was logged was
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ A simple wrapper around Elasticsearch for bulk writing items
| client | <code>Elasticsearch.Client</code> | | Elasticsearch client |
| options | <code>Object</code> | | Options |
| [options.highWaterMark] | <code>number</code> | <code>16</code> | Number of items to buffer before writing. Also the size of the underlying stream buffer. |
| [options.flushTimeout] | <code>number</code> | <code></code> | Number of ms to flush records after, if highWaterMark hasn't been reached |
| [options.logger] | <code>Object</code> | | Instance of a logger like bunyan or winston |

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elasticsearch-bulk-index-stream",
"version": "0.1.2",
"version": "0.2.0",
"description": "A writable stream for bulk indexing records in Elasticsearch",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit dfb2b6c

Please sign in to comment.