storm.kafka.trident
Class ZkBrokerReader

java.lang.Object
  extended by storm.kafka.trident.ZkBrokerReader
All Implemented Interfaces:
IBrokerReader

public class ZkBrokerReader
extends Object
implements IBrokerReader


Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
ZkBrokerReader(Map conf, String topic, ZkHosts hosts)
           
 
Method Summary
 void close()
           
 GlobalPartitionInformation getCurrentBrokers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.slf4j.Logger LOG
Constructor Detail

ZkBrokerReader

public ZkBrokerReader(Map conf,
                      String topic,
                      ZkHosts hosts)
Method Detail

getCurrentBrokers

public GlobalPartitionInformation getCurrentBrokers()
Specified by:
getCurrentBrokers in interface IBrokerReader

close

public void close()
Specified by:
close in interface IBrokerReader


Copyright © 2016 The Apache Software Foundation. All Rights Reserved.