Class PartitionedTopicMetadata
java.lang.Object
org.apache.pulsar.common.partition.PartitionedTopicMetadata
Metadata of a partitioned topic.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
static final String
static final int
A topic with '0' partitions is treated like non-partitioned topic.int
-
Constructor Summary
ConstructorDescriptionPartitionedTopicMetadata
(int partitions) PartitionedTopicMetadata
(int partitions, Map<String, String> properties) -
Method Summary
-
Field Details
-
MEDIA_TYPE
- See Also:
-
partitions
public int partitions -
deleted
public boolean deleted -
properties
-
NON_PARTITIONED
public static final int NON_PARTITIONEDA topic with '0' partitions is treated like non-partitioned topic.- See Also:
-
-
Constructor Details
-
PartitionedTopicMetadata
public PartitionedTopicMetadata() -
PartitionedTopicMetadata
public PartitionedTopicMetadata(int partitions) -
PartitionedTopicMetadata
-