Package | Description |
---|---|
org.apache.storm.kafka.spout.internal | |
org.apache.storm.kafka.spout.metrics |
Modifier and Type | Method and Description |
---|---|
boolean |
CommitMetadataManager.isOffsetCommittedByThisTopology(org.apache.kafka.common.TopicPartition tp,
org.apache.kafka.clients.consumer.OffsetAndMetadata committedOffset,
Map<org.apache.kafka.common.TopicPartition,OffsetManager> offsetManagers)
Checks if
OffsetAndMetadata was committed by a KafkaSpout instance in this topology. |
Constructor and Description |
---|
KafkaOffsetMetric(Supplier<Map<org.apache.kafka.common.TopicPartition,OffsetManager>> offsetManagerSupplier,
Supplier<org.apache.kafka.clients.consumer.Consumer<K,V>> consumerSupplier) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.