storm.kafka.trident
Class ZkBrokerReader
java.lang.Object
storm.kafka.trident.ZkBrokerReader
- All Implemented Interfaces:
- IBrokerReader
public class ZkBrokerReader
- extends Object
- implements IBrokerReader
|
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
ZkBrokerReader
public ZkBrokerReader(Map conf,
String topic,
ZkHosts hosts)
getCurrentBrokers
public GlobalPartitionInformation getCurrentBrokers()
- Specified by:
getCurrentBrokers in interface IBrokerReader
close
public void close()
- Specified by:
close in interface IBrokerReader
Copyright © 2014. All rights reserved.