Class/Object

akka.kafka

ProducerSettings

Related Docs: object ProducerSettings | package kafka

Permalink

class ProducerSettings[K, V] extends AnyRef

Settings for producers. See akka.kafka.producer section in reference.conf. Note that the companion object provides apply and create functions for convenient construction of the settings, together with the with methods.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProducerSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProducerSettings(properties: Map[String, String], keySerializerOpt: Option[Serializer[K]], valueSerializerOpt: Option[Serializer[V]], closeTimeout: FiniteDuration, parallelism: Int, dispatcher: String, eosCommitInterval: FiniteDuration)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val closeTimeout: FiniteDuration

    Permalink
  7. def createKafkaProducer(): KafkaProducer[K, V]

    Permalink

    Create a KafkaProducer instance from the settings.

  8. val dispatcher: String

    Permalink
  9. val eosCommitInterval: FiniteDuration

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val keySerializerOpt: Option[Serializer[K]]

    Permalink
  17. lazy val lazyProducer: KafkaProducer[K, V]

    Permalink

    Lazily evaluate and store KafkaProducer when it's needed for operations like transactions.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val parallelism: Int

    Permalink
  22. val properties: Map[String, String]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. val valueSerializerOpt: Option[Serializer[V]]

    Permalink
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withBootstrapServers(bootstrapServers: String): ProducerSettings[K, V]

    Permalink
  30. def withCloseTimeout(closeTimeout: FiniteDuration): ProducerSettings[K, V]

    Permalink
  31. def withDispatcher(dispatcher: String): ProducerSettings[K, V]

    Permalink
  32. def withEosCommitInterval(eosCommitInterval: FiniteDuration): ProducerSettings[K, V]

    Permalink
  33. def withParallelism(parallelism: Int): ProducerSettings[K, V]

    Permalink
  34. def withProperties(properties: Map[String, String]): ProducerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.producer.ProducerConfig.

  35. def withProperties(properties: (String, String)*): ProducerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.producer.ProducerConfig.

  36. def withProperties(properties: Map[String, String]): ProducerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.producer.ProducerConfig.

  37. def withProperty(key: String, value: String): ProducerSettings[K, V]

    Permalink

    The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.producer.ProducerConfig.

Inherited from AnyRef

Inherited from Any

Ungrouped