public interface TopicNameExtractor<K,
An interface that allows to dynamically determine the name of the Kafka topic to send at the sink node of the topology.
extractExtracts the topic name to send to. The topic name must already exist, since the Kafka Streams library will not try to automatically create the topic with the extracted name.
key- the record key
value- the record value
recordContext- current context metadata of the record
- the topic name this record should be sent to