co.cask.cdap.kafka.flow
Interface KafkaBrokerConfigurer

All Known Subinterfaces:
KafkaConfigurer

public interface KafkaBrokerConfigurer

This class is for configuring Kafka broker information for KafkaConsumerFlowlet.


Method Summary
 void setBrokers(String brokers)
          Sets the Kafka broker list.
 void setZooKeeper(String zookeeper)
          Sets the ZooKeeper quorum string that Kafka is running with.
 

Method Detail

setZooKeeper

void setZooKeeper(String zookeeper)
Sets the ZooKeeper quorum string that Kafka is running with. If this is set, then ZooKeeper will be used for discovery of Kafka brokers, regardless of what's being set by setBrokers(String).


setBrokers

void setBrokers(String brokers)
Sets the Kafka broker list. The format of the broker list is based on the Kafka version.



Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.