public static interface TopologyDescription.Sink extends TopologyDescription.Node
Modifier and Type | Method and Description |
---|---|
java.lang.String |
topic()
The topic name this sink node is writing to.
|
TopicNameExtractor |
topicNameExtractor()
The
TopicNameExtractor class that this sink node uses to dynamically extract the topic name to write to. |
name, predecessors, successors
java.lang.String topic()
null
if the topic name can only be dynamically determined based on TopicNameExtractor
TopicNameExtractor topicNameExtractor()
TopicNameExtractor
class that this sink node uses to dynamically extract the topic name to write to.
Could be null
if the topic name is not dynamically determined.TopicNameExtractor
class used get the topic name