https://medium.com/gumgum-tech/real-time-machine-learning-inference-at-scale-using-spark-structured-streaming-fa8790314319