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 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*

  20. 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*

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

    Accessor method

  22. 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.

  23. 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

  24. 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

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

    Accessor method

  26. 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

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

    Accessor method

  28. 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

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

    Accessor method

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

    Accessor method for Producer.produceChunkAsyncWithFailures]

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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