public class ConcurrentKafkaListenerContainerFactoryConfigurer
extends java.lang.Object
ConcurrentKafkaListenerContainerFactory with sensible defaults.| Constructor and Description |
|---|
ConcurrentKafkaListenerContainerFactoryConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<java.lang.Object,java.lang.Object> listenerFactory,
org.springframework.kafka.core.ConsumerFactory<java.lang.Object,java.lang.Object> consumerFactory)
Configure the specified Kafka listener container factory.
|
void |
setCommonErrorHandler(org.springframework.kafka.listener.CommonErrorHandler commonErrorHandler)
Set the
CommonErrorHandler to use. |
public ConcurrentKafkaListenerContainerFactoryConfigurer()
public void setCommonErrorHandler(org.springframework.kafka.listener.CommonErrorHandler commonErrorHandler)
CommonErrorHandler to use.commonErrorHandler - the error handler.public void configure(org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<java.lang.Object,java.lang.Object> listenerFactory,
org.springframework.kafka.core.ConsumerFactory<java.lang.Object,java.lang.Object> consumerFactory)
listenerFactory - the ConcurrentKafkaListenerContainerFactory instance
to configureconsumerFactory - the ConsumerFactory to use