Maybe you can try the `foreachBatch` API in structured streaming, which allows reusing existing datasources.
-- Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org