public class CommittingRebalanceListener<K,V> extends ForwardingConsumerRebalanceListener
| Constructor and Description |
|---|
CommittingRebalanceListener(org.apache.kafka.clients.consumer.Consumer<K,V> consumer,
CommitListener commitListener,
java.util.Map<org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata> currentOffsets) |
CommittingRebalanceListener(org.apache.kafka.clients.consumer.ConsumerRebalanceListener listener,
org.apache.kafka.clients.consumer.Consumer<K,V> consumer,
CommitListener commitListener,
java.util.Map<org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata> currentOffsets) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPartitionsRevoked(java.util.Collection<org.apache.kafka.common.TopicPartition> collection) |
onPartitionsAssignedpublic CommittingRebalanceListener(org.apache.kafka.clients.consumer.Consumer<K,V> consumer, CommitListener commitListener, java.util.Map<org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata> currentOffsets)
public CommittingRebalanceListener(org.apache.kafka.clients.consumer.ConsumerRebalanceListener listener, org.apache.kafka.clients.consumer.Consumer<K,V> consumer, CommitListener commitListener, java.util.Map<org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata> currentOffsets)
public void onPartitionsRevoked(java.util.Collection<org.apache.kafka.common.TopicPartition> collection)
onPartitionsRevoked in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListeneronPartitionsRevoked in class ForwardingConsumerRebalanceListenerCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.