KafkaProducerConnection represents a connection to a Kafka broker that can be used to create KafkaProducer instances. All KafkaProducer instances created from an given KafkaProducerConnection share a single underlying connection.
KafkaProducerConnection represents a connection to a Kafka broker that can be used to create KafkaProducer instances. All KafkaProducer instances created from an given KafkaProducerConnection share a single underlying connection.
- Companion
- object
Value members
Abstract methods
Creates a new KafkaProducer using the provided serializers.
Creates a new KafkaProducer using the provided serializers.
KafkaProducerConnection.stream[F].using(settings).map(_.withSerializers(keySerializer, valueSerializer))
Creates a new KafkaProducer in the F
context,
using serializers from the specified ProducerSettings.
Creates a new KafkaProducer in the F
context,
using serializers from the specified ProducerSettings.
KafkaProducerConnection.stream[F].using(settings).evalMap(_.withSerializersFrom(settings))