object ProducerCompression
The compression codecs that Kafka supports while producing records.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProducerCompression
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Gzip(level: Int = CompressionType.GZIP.defaultLevel()) extends ProducerCompression with Product with Serializable
Produce kafka records with GZIP compression.
Produce kafka records with GZIP compression.
- level
a value between 1 and 9 or -1 (defaults to -1)
- final case class Lz4(level: Int = CompressionType.LZ4.defaultLevel()) extends ProducerCompression with Product with Serializable
Produce kafka records with Lz4 compression.
Produce kafka records with Lz4 compression.
- level
a value between 1 and 17 (defaults to 9)
- final case class Snappy() extends ProducerCompression with Product with Serializable
Produce kafka records with Snappy compression.
- final case class Zstd(level: Int = CompressionType.ZSTD.defaultLevel()) extends ProducerCompression with Product with Serializable
Produce kafka records with Zstd compression.
Produce kafka records with Zstd compression.
- level
a value between -131072 and 22 (defaults to 3)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object NoCompression extends ProducerCompression with Product with Serializable
Produce kafka records without compression.