case classAvroDataOutputStream[T](os: OutputStream, schema: Schema, codec: CodecFactory)(implicit encoder: Encoder[T]) extends AvroOutputStream[T] with Product with Serializable
An AvroOutputStream that writes the schema along with the messages.
This is usually the format required when writing multiple messages to a single file.
Some frameworks, such as a Kafka, store the Schema separately to messages, in which
case the AvroBinaryInputStream is what you would need.
os
the underlying stream that data will be written to.
Linear Supertypes
Serializable, Serializable, Product, Equals, AvroOutputStream[T], AutoCloseable, AnyRef, Any
An AvroOutputStream that writes the schema along with the messages. This is usually the format required when writing multiple messages to a single file. Some frameworks, such as a Kafka, store the Schema separately to messages, in which case the AvroBinaryInputStream is what you would need.
the underlying stream that data will be written to.