storm.kafka.bolt.selector
Class DefaultTopicSelector

java.lang.Object
  extended by storm.kafka.bolt.selector.DefaultTopicSelector
All Implemented Interfaces:
Serializable, KafkaTopicSelector

public class DefaultTopicSelector
extends Object
implements KafkaTopicSelector

See Also:
Serialized Form

Constructor Summary
DefaultTopicSelector(String topicName)
           
 
Method Summary
 String getTopic(Tuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTopicSelector

public DefaultTopicSelector(String topicName)
Method Detail

getTopic

public String getTopic(Tuple tuple)
Specified by:
getTopic in interface KafkaTopicSelector


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