public class DynamicBrokersReader extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DynamicBrokersReader(Map conf,
String zkStr,
String zkPath,
String topic) |
Modifier and Type | Method and Description |
---|---|
String |
brokerPath() |
void |
close() |
GlobalPartitionInformation |
getBrokerInfo()
Get all partitions with their current leaders
|
String |
partitionPath() |
public GlobalPartitionInformation getBrokerInfo() throws SocketTimeoutException
SocketTimeoutException
public String partitionPath()
public String brokerPath()
public void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.