79166783

Date: 2024-11-07 14:03:16
Score: 1.5
Natty:
Report link

Not about you, but mind your beans' names. I almost went crazy with that. By default, Spring Kafka expects the ConcurrentKafkaListenerContainerFactory bean to be named kafkaListenerContainerFactory. If the method name matches this, it is automatically used by the framework. This is a convention that allows Spring to wire up the Kafka listener infrastructure without needing to explicitly reference this bean in the configuration or listener setup.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sergey Lagutin