final
class
ProducerSettings[K, V] extends AnyRef
Instance Constructors
-
new
ProducerSettings(properties: Map[String, String], keySerializerOpt: Option[Serializer[K]], valueSerializerOpt: Option[Serializer[V]], closeTimeout: FiniteDuration, parallelism: Int, dispatcher: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
closeTimeout: FiniteDuration
-
def
createKafkaProducer(): KafkaProducer[K, V]
-
val
dispatcher: String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
val
keySerializerOpt: Option[Serializer[K]]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
parallelism: Int
-
val
properties: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
val
valueSerializerOpt: Option[Serializer[V]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withBootstrapServers(bootstrapServers: String): ProducerSettings[K, V]
-
def
withCloseTimeout(closeTimeout: FiniteDuration): ProducerSettings[K, V]
-
def
withDispatcher(dispatcher: String): ProducerSettings[K, V]
-
def
withParallelism(parallelism: Int): ProducerSettings[K, V]
-
def
withProperties(properties: Map[String, String]): ProducerSettings[K, V]
-
def
withProperties(properties: (String, String)*): ProducerSettings[K, V]
-
def
withProperties(properties: Map[String, String]): ProducerSettings[K, V]
-
def
withProperty(key: String, value: String): ProducerSettings[K, V]
Inherited from AnyRef
Inherited from Any
Settings for producers. See
akka.kafka.producer
section in reference.conf. Note that the companion object providesapply
andcreate
functions for convenient construction of the settings, together with thewith
methods.