Skip to content

Commit

Permalink
Elasticsearch: Document includeDocumentVersion (akka#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe authored and ennru committed Jun 13, 2018
1 parent fd8bfb4 commit ba97388
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/main/paradox/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ Java
: @@snip ($alpakka$/elasticsearch/src/test/java/akka/stream/alpakka/elasticsearch/ElasticsearchTest.java) { #source-settings }


| Parameter | Default | Description |
| ---------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| bufferSize | 10 | `ElasticsearchSource` retrieves messages from Elasticsearch by scroll scan. This buffer size is used as the scroll size. |
| Parameter | Default | Description |
| ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| bufferSize | 10 | `ElasticsearchSource` retrieves messages from Elasticsearch by scroll scan. This buffer size is used as the scroll size. |
| includeDocumentVersion | false | Tell Elasticsearch to return the documents `_version` property with the search results. See [Version](http://nocf-www.elastic.co/guide/en/elasticsearch/reference/current/search-request-version.html) and [Optimistic Concurrenct Control](https://www.elastic.co/guide/en/elasticsearch/guide/current/optimistic-concurrency-control.html) to know about this property. |


Also, we can configure the sink by `ElasticsearchSinkSettings`.
Expand Down

0 comments on commit ba97388

Please sign in to comment.