An implementation of the reactive API Subscriber.
An implementation of this typeclass must provide a bulk compatible request for the given instance of T.
An implementation of this typeclass must provide a bulk compatible request for the given instance of T.
the type of elements this provider supports
Notified on each acknowledgement
An implementation of the reactive API Publisher, that publishes documents using an elasticsearch scroll cursor.
An implementation of the reactive API Publisher, that publishes documents using an elasticsearch scroll cursor. The initial query must be provided to the publisher, and there are helpers to create a query for all documents in an index (and type).
An implementation of the reactive API Subscriber. This subscriber will bulk index received elements. The bulk nature means that the elasticsearch index operations are performed as a bulk call, the size of which are controlled by the batchSize param.
The received elements must be converted into an elastic4s bulk compatible definition, such as index or delete. This is done by the RequestBuilder.
the type of element provided by the publisher this subscriber will subscribe with