What is KafkaListenerContainerFactory?

Your thoughts?

|

@KafkaListener utilizes a ConcurrentMessageListenerContainer under the hood...

ConcurrentMessageListenerContainer manages a collection of KafkaMessageListenerContainer instances.

KafkaMessageListenerContainers includes a ConsumerFactory and info about topics and partitions.

MessageListenerContainer's receive messages from Kafka topics.

|

When you use @KafkaListener annotation, the KafkaListenerContainerFactory is used to configure the underlying ConcurrentMessageListenerContainer.


|

KafkaListenerContainerFactory is an INTERFACE.


It extends the MessageListenerContainer INTERFACE.