public class OffsetCommitterConsumerRebalanceListener
extends java.lang.Object
implements org.apache.kafka.clients.consumer.ConsumerRebalanceListener
| Constructor and Description |
|---|
OffsetCommitterConsumerRebalanceListener(pl.allegro.tech.hermes.api.SubscriptionName name,
ConsumerPartitionAssignmentState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPartitionsAssigned(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions) |
void |
onPartitionsRevoked(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions) |
public OffsetCommitterConsumerRebalanceListener(pl.allegro.tech.hermes.api.SubscriptionName name,
ConsumerPartitionAssignmentState state)
public void onPartitionsRevoked(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
onPartitionsRevoked in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListenerpublic void onPartitionsAssigned(java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
onPartitionsAssigned in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener