Skip to content

MicroBatchWriter — Data Source Writer in Micro-Batch Stream Processing (Data Source API V2)

[[batchId]][[writer]][[creating-instance]][[commit]][[abort]] MicroBatchWriter is a DataSourceWriter (Spark SQL) that uses the given batch ID as the epoch when requested to commit, abort and create a WriterFactory for a given StreamWriter in Micro-Batch Stream Processing.

TIP: Read up on https://jaceklaskowski.gitbooks.io/mastering-spark-sql/spark-sql-DataSourceWriter.html[DataSourceWriter] in https://bit.ly/spark-sql-internals[The Internals of Spark SQL] book.

MicroBatchWriter is part of the novel Data Source API V2 in Spark SQL.

MicroBatchWriter is <> exclusively when MicroBatchExecution is requested to <>.


Last update: 2021-02-07