public class Partition extends Object implements ISpoutPartition, Serializable
Represents an EventHub partition.
Constructor and Description |
---|
Partition(EventHubSpoutConfig config,
String partitionId) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
This is used as a Zookeeper node path for storing metadata.
|
public Partition(EventHubSpoutConfig config, String partitionId)
public String getId()
ISpoutPartition
This is used as a Zookeeper node path for storing metadata.
getId
in interface ISpoutPartition
Copyright © 2022 The Apache Software Foundation. All rights reserved.