Package org.apache.pinot.spi.stream
Class PartitionGroupMetadataFetcher
- java.lang.Object
-
- org.apache.pinot.spi.stream.PartitionGroupMetadataFetcher
-
public class PartitionGroupMetadataFetcher extends Object implements Callable<Boolean>
Fetches the list ofPartitionGroupMetadatafor all partition groups of the stream, using theStreamMetadataProvider
-
-
Constructor Summary
Constructors Constructor Description PartitionGroupMetadataFetcher(StreamConfig streamConfig, List<PartitionGroupConsumptionStatus> partitionGroupConsumptionStatusList)
-
Method Summary
Modifier and Type Method Description Booleancall()Callable to fetch thePartitionGroupMetadatalist, from the stream.ExceptiongetException()List<PartitionGroupMetadata>getPartitionGroupMetadataList()
-
-
-
Constructor Detail
-
PartitionGroupMetadataFetcher
public PartitionGroupMetadataFetcher(StreamConfig streamConfig, List<PartitionGroupConsumptionStatus> partitionGroupConsumptionStatusList)
-
-
Method Detail
-
getPartitionGroupMetadataList
public List<PartitionGroupMetadata> getPartitionGroupMetadataList()
-
getException
public Exception getException()
-
call
public Boolean call() throws Exception
Callable to fetch thePartitionGroupMetadatalist, from the stream. The stream requires the list ofPartitionGroupConsumptionStatusto compute the newPartitionGroupMetadata
-
-