@InterfaceStability.Evolving public interface TopicNameExtractor<K,V>
Modifier and Type | Method and Description |
---|---|
String |
extract(K key,
V value,
RecordContext recordContext)
Extracts the topic name to send to.
|
String extract(K key, V value, RecordContext recordContext)
key
- the record keyvalue
- the record valuerecordContext
- current context metadata of the record