JavaEsSpark.saveJsonToEs vs JavaEsSparkStreaming.saveJsonToEs

I would want to know the difference between

JavaEsSpark.saveJsonToEs & JavaEsSparkStreaming.saveJsonToEs.

My concern being the number of connections created to ES in both the methods. I know from docs the last one is persistant and pooled connection. Just to know if I am missing anything. Also which one to prefer when?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.