storm.kafka.bolt.selector
Class DefaultTopicSelector
java.lang.Object
storm.kafka.bolt.selector.DefaultTopicSelector
- All Implemented Interfaces:
- Serializable, KafkaTopicSelector
public class DefaultTopicSelector
- extends Object
- implements KafkaTopicSelector
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTopicSelector
public DefaultTopicSelector(String topicName)
getTopic
public String getTopic(Tuple tuple)
- Specified by:
getTopic
in interface KafkaTopicSelector
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.