storm.kafka
Class DynamicBrokersReader
java.lang.Object
storm.kafka.DynamicBrokersReader
public class DynamicBrokersReader
- extends Object
Field Summary |
static org.slf4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.slf4j.Logger LOG
DynamicBrokersReader
public DynamicBrokersReader(Map conf,
String zkStr,
String zkPath,
String topic)
getBrokerInfo
public GlobalPartitionInformation getBrokerInfo()
throws SocketTimeoutException
- Get all partitions with their current leaders
- Throws:
SocketTimeoutException
partitionPath
public String partitionPath()
brokerPath
public String brokerPath()
close
public void close()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.