Is it possible to use Elasticserach in a producer / consumer scenario?
The producer writes documents to Elasticserach.
The consumer reads documents from Eleasticserach and processes them.
The order of the documents must be preserved.
There is a REST API GET operation but the document's _id must be specified. But the consumer doesn't know the _id of the document, he wants to just get the next document that came.
I did not find an API allowing to subscribe for incoming documents.