public class StaticBrokerReader extends java.lang.Object implements IBrokerReader
Constructor and Description |
---|
StaticBrokerReader(java.lang.String topic,
GlobalPartitionInformation partitionInformation) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.util.List<GlobalPartitionInformation> |
getAllBrokers() |
GlobalPartitionInformation |
getBrokerForTopic(java.lang.String topic) |
public StaticBrokerReader(java.lang.String topic, GlobalPartitionInformation partitionInformation)
public GlobalPartitionInformation getBrokerForTopic(java.lang.String topic)
getBrokerForTopic
in interface IBrokerReader
public java.util.List<GlobalPartitionInformation> getAllBrokers()
getAllBrokers
in interface IBrokerReader
public void close()
close
in interface IBrokerReader