package producer
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- producer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type ByteRecord = ProducerRecord[Array[Byte], Array[Byte]]
- trait Producer extends AnyRef
- sealed abstract class ProducerCompression extends AnyRef
- final case class ProducerSettings(closeTimeout: zio.Duration = 30.seconds, sendBufferSize: Int = 4096, authErrorRetrySchedule: Schedule[Any, Throwable, Any] = Schedule.stop, properties: Map[String, AnyRef] = Map.empty) extends Product with Serializable
Settings for the Producer.
Settings for the Producer.
To stay source compatible with future releases, you are recommended to construct the settings as follows:
ProducerSettings(bootstrapServers) .withLinger(500.millis) .withCompression(ProducerCompression.Zstd(3)) .... etc.
- trait Transaction extends AnyRef
- trait TransactionalProducer extends AnyRef
- final case class TransactionalProducerSettings extends Product with Serializable
Value Members
- object Producer
- object ProducerCompression
The compression codecs that Kafka supports while producing records.
- object ProducerSettings extends Serializable
- object TransactionalProducer
- object TransactionalProducerSettings extends Serializable