What kind of events do you think of? Single new document indexed? Batch of docs indexed? Node-wide? Or cluster wide?
You mention Redis, for something like publish/subscribe pattern, you'd have to use a persistent connection and implement your own ES actions, which is possible with e.g. HTTP websockets A sketchy implementation can be found here: https://github.com/jprante/elasticsearch-transport-websocket Jörg On Sat, Aug 23, 2014 at 8:09 PM, Jim Alateras <[email protected]> wrote: > I was wondering whether there were any mechanisms to use ES as a realtime > feed for downstream systems. I have a cluster that gathers observations > from many sensors. I have a need to maintain a list of realtime counters in > REDIS so I want to further process these observation once they hit the > database. Additionally I also want to be able to create event streams for > different type of feeds. > > I could do all this outside ES but I was wondering whether there were > mechanisms within ES that will allow me to subscribe to add events for a > particular type or index. > > > cheers > </jima> > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/9f5b1d11-0be1-461d-a5bd-dd70f1a0b6c1%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/9f5b1d11-0be1-461d-a5bd-dd70f1a0b6c1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEkBLfd1pcQ%3D0hf6fstV7oJvO%2BB2GwF%3DdRyNqcN0%3D%2BNzw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
