public interface ConsumerEventListener
extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
becameActive(Consumer<?> consumer,
int partitionId)
Notified when the consumer group is changed, and the consumer becomes the active consumer.
|
void |
becameInactive(Consumer<?> consumer,
int partitionId)
Notified when the consumer group is changed, and the consumer is still inactive or becomes inactive.
|
void becameActive(Consumer<?> consumer, int partitionId)
void becameInactive(Consumer<?> consumer, int partitionId)