object ProducerSettings
- Source
- ProducerSettings.scala
- Alphabetic
- By Inheritance
- ProducerSettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def apply[K, V](config: Config, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
.Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly. - def apply[K, V](system: ClassicActorSystemProvider, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Create settings from the default configuration
akka.kafka.producer
.Create settings from the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly.For use with the
akka.actor.typed
API. - def apply[K, V](system: ActorSystem, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Create settings from the default configuration
akka.kafka.producer
.Create settings from the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly. - def apply[K, V](config: Config, keySerializer: Option[Serializer[K]], valueSerializer: Option[Serializer[V]]): ProducerSettings[K, V]
Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
.Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration. - def apply[K, V](system: ClassicActorSystemProvider, keySerializer: Option[Serializer[K]], valueSerializer: Option[Serializer[V]]): ProducerSettings[K, V]
Create settings from the default configuration
akka.kafka.producer
.Create settings from the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration.For use with the
akka.actor.typed
API. - def apply[K, V](system: ActorSystem, keySerializer: Option[Serializer[K]], valueSerializer: Option[Serializer[V]]): ProducerSettings[K, V]
Create settings from the default configuration
akka.kafka.producer
.Create settings from the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration. - val configPath: String
- def create[K, V](config: Config, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Java API: Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
.Java API: Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly. - def create[K, V](system: ClassicActorSystemProvider, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Java API: Create settings from the default configuration
akka.kafka.producer
.Java API: Create settings from the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly.For use with the
akka.actor.typed
API. - def create[K, V](system: ActorSystem, keySerializer: Serializer[K], valueSerializer: Serializer[V]): ProducerSettings[K, V]
Java API: Create settings from the default configuration
akka.kafka.producer
.Java API: Create settings from the default configuration
akka.kafka.producer
. Key and value serializer must be passed explicitly. - def create[K, V](config: Config, keySerializer: Optional[Serializer[K]], valueSerializer: Optional[Serializer[V]]): ProducerSettings[K, V]
Java API: Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
.Java API: Create settings from a configuration with the same layout as the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration. - def create[K, V](system: ClassicActorSystemProvider, keySerializer: Optional[Serializer[K]], valueSerializer: Optional[Serializer[V]]): ProducerSettings[K, V]
Java API: Create settings from the default configuration
akka.kafka.producer
.Java API: Create settings from the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration.For use with the
akka.actor.typed
API. - def create[K, V](system: ActorSystem, keySerializer: Optional[Serializer[K]], valueSerializer: Optional[Serializer[V]]): ProducerSettings[K, V]
Java API: Create settings from the default configuration
akka.kafka.producer
.Java API: Create settings from the default configuration
akka.kafka.producer
. Key or value serializer can be passed explicitly or retrieved from configuration. - def createKafkaProducer[K, V](settings: ProducerSettings[K, V]): KafkaProducer[K, V]
Create a KafkaProducer instance from the settings.