| Constructor and Description |
|---|
KafkaConsumerFactory() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> KafkaConsumer<K,V> |
createConsumer(AbstractKafkaConsumerConfiguration<K,V> consumerConfiguration)
Creates a new
KafkaConsumer for the given configuration. |
@Prototype public <K,V> KafkaConsumer<K,V> createConsumer(@Parameter AbstractKafkaConsumerConfiguration<K,V> consumerConfiguration)
KafkaConsumer for the given configuration.K - The key typeV - The value typeconsumerConfiguration - The consumer configuration