Producer

nl.vroste.zio.kinesis.interop.futures.Producer
See theProducer companion object
class Producer[T]

A scala-native Future based interface to the zio-kinesis Producer

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def close(): Unit

Shutdown the Producer

Shutdown the Producer

Attributes

def produce(r: ProducerRecord[T]): CancelableFuture[ProduceResponse]

Produce a single record

Produce a single record

Backpressures when too many requests are in flight

Attributes

Returns

Task that fails if the records fail to be produced with a non-recoverable error

def produceMany(records: Iterable[ProducerRecord[T]]): CancelableFuture[Seq[ProduceResponse]]

Backpressures when too many requests are in flight

Backpressures when too many requests are in flight

Attributes

Returns

Task that fails if any of the records fail to be produced with a non-recoverable error

Implicits

Implicits

implicit val unsafe: Unsafe