Packages

object Producer

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. val flush: RIO[Producer, Unit]

    Accessor method

  9. def fromJavaProducer(javaProducer: org.apache.kafka.clients.producer.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

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val live: RLayer[ProducerSettings, Producer]
  14. def make(settings: ProducerSettings): ZIO[Scope, Throwable, Producer]
  15. val metrics: RIO[Producer, Map[MetricName, Metric]]

    Accessor method

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def partitionsFor(topic: String): RIO[Producer, Chunk[PartitionInfo]]

    Accessor method

  20. def produce[R, K, V](topic: String, key: K, value: V, keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], RecordMetadata]

    Accessor method for Producer!.produce[R,K,V](topic*

  21. def produce[R, K, V](record: ProducerRecord[K, V], keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], RecordMetadata]

    Accessor method for Producer!.produce[R,K,V](record*

  22. def produce(record: ProducerRecord[Array[Byte], Array[Byte]]): RIO[Producer, RecordMetadata]

    Accessor method

  23. def produceAll[R, K, V](keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): ZPipeline[zio.&[R, Producer], Throwable, ProducerRecord[K, V], RecordMetadata]

    A stream pipeline that produces all records from the stream.

  24. def produceAsync[R, K, V](topic: String, key: K, value: V, keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], Task[RecordMetadata]]

    Accessor method

  25. def produceAsync[R, K, V](record: ProducerRecord[K, V], keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], Task[RecordMetadata]]

    Accessor method

  26. def produceAsync(record: ProducerRecord[Array[Byte], Array[Byte]]): RIO[Producer, Task[RecordMetadata]]

    Accessor method

  27. def produceChunk[R, K, V](records: Chunk[ProducerRecord[K, V]], keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], Chunk[RecordMetadata]]

    Accessor method

  28. def produceChunk(records: Chunk[ProducerRecord[Array[Byte], Array[Byte]]]): RIO[Producer, Chunk[RecordMetadata]]

    Accessor method

  29. def produceChunkAsync[R, K, V](records: Chunk[ProducerRecord[K, V]], keySerializer: Serializer[R, K], valueSerializer: Serializer[R, V]): RIO[zio.&[R, Producer], Task[Chunk[RecordMetadata]]]

    Accessor method

  30. def produceChunkAsync(records: Chunk[ProducerRecord[Array[Byte], Array[Byte]]]): RIO[Producer, Task[Chunk[RecordMetadata]]]

    Accessor method

  31. def produceChunkAsyncWithFailures(records: Chunk[ProducerRecord[Array[Byte], Array[Byte]]]): RIO[Producer, UIO[Chunk[Either[Throwable, RecordMetadata]]]]

    Accessor method for Producer.produceChunkAsyncWithFailures]

  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. case object PublishOmittedException extends RuntimeException with NoStackTrace with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped