public class Partition extends Object implements ISpoutPartition, Serializable
| Constructor and Description |
|---|
Partition(Broker host,
String topic,
int partition) |
Partition(Broker host,
String topic,
int partition,
Boolean bUseTopicNameForPartitionPathId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
This is used as a Zookeeper node path for storing metadata.
|
int |
hashCode() |
String |
toString() |
public String getId()
ISpoutPartitionThis is used as a Zookeeper node path for storing metadata.
getId in interface ISpoutPartitionCopyright © 2022 The Apache Software Foundation. All Rights Reserved.