storm.kafka
Class PartitionManager
java.lang.Object
storm.kafka.PartitionManager
public class PartitionManager
- extends Object
Field Summary |
static org.slf4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
PartitionManager
public PartitionManager(DynamicPartitionConnections connections,
String topologyInstanceId,
ZkState state,
Map stormConf,
SpoutConfig spoutConfig,
Partition id)
getMetricsDataMap
public Map getMetricsDataMap()
next
public storm.kafka.KafkaSpout.EmitState next(SpoutOutputCollector collector)
ack
public void ack(Long offset)
fail
public void fail(Long offset)
commit
public void commit()
lastCompletedOffset
public long lastCompletedOffset()
getPartition
public Partition getPartition()
close
public void close()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.