← ZIO Kafka docs

TransactionalProducerSettings

zio.kafka.producer.TransactionalProducerSettings
See theTransactionalProducerSettings companion object

Settings for a transactional producer.

To stay source compatible with future releases, you are recommended to construct the settings as follows:

 val producerSettings = ProducerSettings(bootstrapServers)
   .withLinger(500.millis)
   .withCompression(ProducerCompression.Zstd(3))
   .... etc.
 TransactionalProducerSettings(producerSettings, transactionalId)

Attributes

Companion
object
Source
TransactionalProducerSettings.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala