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 IBrokerReader
public List<GlobalPartitionInformation> getAllBrokers()
getAllBrokers
in interface IBrokerReader
public void close()
close
in interface IBrokerReader
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.