public interface PartitionAssignmentOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getPartitions(int index)
public abstract long getPartitions(int index)
The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
long |
The partitions at the given index. |
getPartitionsCount()
public abstract int getPartitionsCount()
The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
Returns | |
---|---|
Type | Description |
int |
The count of partitions. |
getPartitionsList()
public abstract List<Long> getPartitionsList()
The list of partition numbers this subscriber is assigned to.
repeated int64 partitions = 1;
Returns | |
---|---|
Type | Description |
List<Long> |
A list containing the partitions. |