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

  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val live: RLayer[ProducerSettings, Producer]
  13. def make(settings: ProducerSettings): ZIO[Scope, Throwable, Producer]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. 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)

  2. val flush: RIO[Producer, Unit]

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

  3. val metrics: RIO[Producer, Map[MetricName, Metric]]

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

  4. def partitionsFor(topic: String): RIO[Producer, Chunk[PartitionInfo]]

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    A stream pipeline that produces all records from the stream.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method

    Accessor method

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

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

    Accessor method for Producer.produceChunkAsyncWithFailures]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use zio service pattern instead (https://zio.dev/reference/service-pattern/), will be removed in zio-kafka 3.0.0

Inherited from AnyRef

Inherited from Any

Ungrouped