K - The key typeV - The value typepublic interface KafkaConsumerAware<K,V>
KafkaListener instances to implement
if they wish to obtain a reference to the underlying KafkaConsumer.| Modifier and Type | Method and Description |
|---|---|
void |
setKafkaConsumer(org.apache.kafka.clients.consumer.KafkaConsumer<K,V> consumer)
Called when the underlying
KafkaConsumer is created. |