Class DefaultTopicSelector
- java.lang.Object
-
- org.apache.storm.kafka.trident.selector.DefaultTopicSelector
-
- All Implemented Interfaces:
Serializable
,KafkaTopicSelector
public class DefaultTopicSelector extends Object implements KafkaTopicSelector
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultTopicSelector(String topicName)
-
-
-
Constructor Detail
-
DefaultTopicSelector
public DefaultTopicSelector(String topicName)
-
-
Method Detail
-
getTopic
public String getTopic(TridentTuple tuple)
- Specified by:
getTopic
in interfaceKafkaTopicSelector
-
-