zio.kafka.consumer.RebalanceListener
See theRebalanceListener companion object
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.
Note that the given ZIO effects are executed directly on the Kafka poll thread. Fork and shift to another executor when this is not desired.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article