Interface ITopicNameExtractor<K, V>
Listener for Kafka TopicNameExtractor. Extends ITopicNameExtractor
public interface ITopicNameExtractor<K, V> : ITopicNameExtractor, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
KV
- Inherited Members
Methods
Extract(K, V, RecordContext)
Executes the TopicNameExtractor action in the CLR
String Extract(K key, V value, RecordContext recordContext)
Parameters
keyKthe record key
valueVthe record value
recordContextRecordContextcurrent context metadata of the record
Returns
- String
the topic name this record should be sent to