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?