public class StaticBrokerReader extends Object implements IBrokerReader
| Constructor and Description |
|---|
StaticBrokerReader(String topic,
GlobalPartitionInformation partitionInformation) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<GlobalPartitionInformation> |
getAllBrokers() |
GlobalPartitionInformation |
getBrokerForTopic(String topic) |
public StaticBrokerReader(String topic, GlobalPartitionInformation partitionInformation)
public GlobalPartitionInformation getBrokerForTopic(String topic)
getBrokerForTopic in interface IBrokerReaderpublic List<GlobalPartitionInformation> getAllBrokers()
getAllBrokers in interface IBrokerReaderpublic void close()
close in interface IBrokerReaderCopyright © 2019 The Apache Software Foundation. All Rights Reserved.