Class RebalanceListeners.WrappedConsumerRebalanceListener
java.lang.Object
io.smallrye.reactive.messaging.kafka.impl.RebalanceListeners.WrappedConsumerRebalanceListener
- All Implemented Interfaces:
org.apache.kafka.clients.consumer.ConsumerRebalanceListener
- Enclosing class:
- RebalanceListeners
public static class RebalanceListeners.WrappedConsumerRebalanceListener
extends Object
implements org.apache.kafka.clients.consumer.ConsumerRebalanceListener
-
Constructor Summary
ConstructorsConstructorDescriptionWrappedConsumerRebalanceListener(String consumerGroup, KafkaConsumerRebalanceListener listener, ReactiveKafkaConsumer<?, ?> reactiveKafkaConsumer, KafkaCommitHandler commitHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidonPartitionsAssigned(Collection<org.apache.kafka.common.TopicPartition> partitions) voidonPartitionsRevoked(Collection<org.apache.kafka.common.TopicPartition> partitions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener
onPartitionsLost
-
Constructor Details
-
WrappedConsumerRebalanceListener
public WrappedConsumerRebalanceListener(String consumerGroup, KafkaConsumerRebalanceListener listener, ReactiveKafkaConsumer<?, ?> reactiveKafkaConsumer, KafkaCommitHandler commitHandler)
-
-
Method Details
-
onPartitionsRevoked
- Specified by:
onPartitionsRevokedin interfaceorg.apache.kafka.clients.consumer.ConsumerRebalanceListener
-
onPartitionsAssigned
- Specified by:
onPartitionsAssignedin interfaceorg.apache.kafka.clients.consumer.ConsumerRebalanceListener
-