← ZIO Kafka docs

RebalanceListener

zio.kafka.consumer.RebalanceListener
See theRebalanceListener companion object
final case class RebalanceListener(onAssigned: Set[TopicPartition] => Task[Unit], onRevoked: Set[TopicPartition] => Task[Unit], onLost: Set[TopicPartition] => Task[Unit])

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

Attributes

Companion
object
Source
RebalanceListener.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Combine with another RebalanceListener and execute their actions sequentially

Combine with another RebalanceListener and execute their actions sequentially

Attributes

Source
RebalanceListener.scala

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala