zio.kafka.producer

Members list

Type members

Classlikes

trait Producer

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Producer

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Producer.type
sealed abstract class ProducerCompression(name: String, extra: Option[(String, AnyRef)])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Gzip
class Lz4
object NoCompression
class Snappy
class Zstd

The compression codecs that Kafka supports while producing records.

The compression codecs that Kafka supports while producing records.

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class ProducerSettings(closeTimeout: Duration, sendBufferSize: Int, authErrorRetrySchedule: Schedule[Any, Throwable, Any], properties: Map[String, AnyRef])

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Transaction

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type