How do I configure Spring Kafka Listener for a specfic topic using the factory?
问题 I want to be able to read in topics through the properties without specifying anything on the Kafka listener annotation. Not using Spring Boot. I tried having the topics read straight from the properties object via a "topics" key. That gives an error: IllegalStateException:topics, topicPattern, or topicPartitions must be provided. // some class @KafkaListener public void listener(List<String> messages) { System.out.print(messages); } //some other class @Bean public ConsumerFactory<String,