Skip to content

MicroBatchWriterFactory

MicroBatchWriterFactory is a DataWriterFactory (Spark SQL).

Creating Instance

MicroBatchWriterFactory takes the following to be created:

MicroBatchWriterFactory is created when:

Creating DataWriter

createWriter(
  partitionId: Int,
  taskId: Long): DataWriter[InternalRow]

createWriter is part of the DataWriterFactory (Spark SQL) abstraction.


createWriter requests the StreamingDataWriterFactory for a DataWriter.