object ElasticsearchFlow
- Alphabetic
- By Inheritance
- ElasticsearchFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[WriteMessage[T, NotUsed], WriteResult[T, NotUsed], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
.Create a flow to update Elasticsearch with WriteMessages containing type
T
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def create[T](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[WriteMessage[T, NotUsed], WriteResult[T, NotUsed], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
.Create a flow to update Elasticsearch with WriteMessages containing type
T
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON
- def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[List[WriteMessage[T, C]], List[WriteResult[T, C]], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult] and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def createBulk[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[List[WriteMessage[T, C]], List[WriteResult[T, C]], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult] and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON
- def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.- messageWriter
converts type
T
to aString
containing valid JSON
- Annotations
- @ApiMayChange()
- Exceptions thrown
IllegalArgumentException
When settings configure retrying.
- def createWithContext[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): FlowWithContext[WriteMessage[T, NotUsed], C, WriteResult[T, C], C, NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withcontext
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.- objectMapper
Jackson object mapper converting type
T
to JSON
- Annotations
- @ApiMayChange()
- Exceptions thrown
IllegalArgumentException
When settings configure retrying.
- def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], messageWriter: MessageWriter[T]): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- messageWriter
converts type
T
to aString
containing valid JSON
- def createWithPassThrough[T, C](elasticsearchParams: ElasticsearchParams, settings: WriteSettingsBase[_, _], objectMapper: ObjectMapper): Flow[WriteMessage[T, C], WriteResult[T, C], NotUsed]
Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
.Create a flow to update Elasticsearch with WriteMessages containing type
T
withpassThrough
of typeC
. The result status is part of the WriteResult and must be checked for successful execution.Warning: When settings configure retrying, messages are emitted out-of-order when errors are detected.
- objectMapper
Jackson object mapper converting type
T
to JSON