public class PartitionManager extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
PartitionManager(DynamicPartitionConnections connections,
String topologyInstanceId,
ZkState state,
Map stormConf,
SpoutConfig spoutConfig,
Partition id) |
Modifier and Type | Method and Description |
---|---|
void |
ack(Long offset) |
void |
close() |
void |
commit() |
void |
fail(Long offset) |
Map |
getMetricsDataMap() |
Partition |
getPartition() |
long |
lastCompletedOffset() |
storm.kafka.KafkaSpout.EmitState |
next(SpoutOutputCollector collector) |
public PartitionManager(DynamicPartitionConnections connections, String topologyInstanceId, ZkState state, Map stormConf, SpoutConfig spoutConfig, Partition id)
public Map getMetricsDataMap()
public storm.kafka.KafkaSpout.EmitState next(SpoutOutputCollector collector)
public void ack(Long offset)
public void fail(Long offset)
public void commit()
public long lastCompletedOffset()
public Partition getPartition()
public void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.