How to send Dstream to Elasticsearch?


(Reza) #1

I'm wondering if there's a way to send Dstreams from spark streaming to Elasticsearch directly.
I'm aware that you can use foreachRDD and send each rdd to elasticsearch. But I'm wondering
if I can send them directly as foreachRDD is expensive. Thanks.


(system) #2