StreamControl

zio.kafka.consumer.StreamControl
See theStreamControl companion object
trait StreamControl[-R, +E, +A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def end: UIO[Unit]

Stops fetching data for all partitions associated with this subscription. The stream will end and the effect running the stream will eventually complete.

Stops fetching data for all partitions associated with this subscription. The stream will end and the effect running the stream will eventually complete.

Attributes

Returns

Effect that will complete immediately.

def stream: ZStream[R, E, A]

The stream associated with this subscription

The stream associated with this subscription

The stream should be run at most once. Running it more than once will result in chunks of records being divided over the streams. After ending, running the stream another time will not produce records

Attributes

Concrete methods

def map[R1 <: R, E1 >: E, B](f: (ZStream[R, E, A]) => ZStream[R1, E1, B]): StreamControl[R1, E1, B]
Implicitly added by StreamControlOps