RebalanceListener

final case class RebalanceListener(onAssigned: (Set[TopicPartition], RebalanceConsumer) => Task[Unit], onRevoked: (Set[TopicPartition], RebalanceConsumer) => Task[Unit], onLost: (Set[TopicPartition], RebalanceConsumer) => Task[Unit])

ZIO wrapper around Kafka's ConsumerRebalanceListener to work with Scala collection types and ZIO effects

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Combine with another RebalanceListener and execute their actions sequentially

Combine with another RebalanceListener and execute their actions sequentially

def toKafka(runtime: Runtime[Any], consumer: RebalanceConsumer): ConsumerRebalanceListener

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product