zio.kafka.producer.Producer
See theProducer companion trait
object Producer
Attributes
- Companion
- trait
- Source
- Producer.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Producer.type
Members list
Type members
Classlikes
case object PublishOmittedException extends RuntimeException, NoStackTrace
Attributes
- Source
- Producer.scala
- Supertypes
- Self type
Types
A callback for producer diagnostic events.
Value members
Concrete methods
def fromJavaProducer(javaProducer: Producer[Array[Byte], Array[Byte]], settings: ProducerSettings): ZIO[Scope, Throwable, Producer]
Create a zio-kafka Producer from an existing org.apache.kafka KafkaProducer
Create a zio-kafka Producer from an existing org.apache.kafka KafkaProducer
You are responsible for creating and closing the KafkaProducer
Attributes
- Source
- Producer.scala
Attributes
- Source
- Producer.scala
In this article