Example code to use spark load records into elasticsearch