This page shows how to use foreachBatch with Structured Streaming to write the output of a streaming query to data sources that do not have an existing streaming sink. The code pattern ...