Following https://stackoverflow.com/questions/77193702/consumerrebalancelistener-and-or-containerproperties-override-per-container,
Through a new property on the KafkaListener annotation, it should be possible to specify the bean name of the ContainerCustomizer associated to the listener.
@KafkaListener(... containerCustomizer="myContainerCustomizerBeanName" ...)
void on(ConsumerRecords records) {
...
If provided, this customizer would override the default factory customizer.
See KafkaListenerAnnotationBeanPostProcessor and KafkaListenerEndpoint for internal details.
Would be great to have this feature on both Spring Kafka 2.9.x and 3.0.x