We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.8.6(latest)
Describe the bug
The latest Spring Kafka documentation contains outdated information about KafkaListenerContainerFactory (two generic types): https://docs.spring.io/spring-kafka/reference/html/
@Bean public KafkaListenerContainerFactory<?, ?> kafkaJsonListenerContainerFactory() { ConcurrentKafkaListenerContainerFactory<Integer, String> factory = new ConcurrentKafkaListenerContainerFactory<>(); factory.setConsumerFactory(consumerFactory()); factory.setMessageConverter(new JsonMessageConverter()); return factory; }
But the current version of KafkaListenerContainerFactory has only one generic type: https://github.com/spring-projects/spring-kafka/blob/main/spring-kafka/src/main/java/org/springframework/kafka/config/KafkaListenerContainerFactory.java
public interface KafkaListenerContainerFactory<C extends MessageListenerContainer> {
To Reproduce
Expected behavior
Spring Kafka documentation should use only one generic type for KafkaListenerContainerFactory.
The text was updated successfully, but these errors were encountered:
0c65c9b
GH-2292: Doc - Fix Container Factory Generics
daf7233
Resolves #2292
1e82ac9
6fd78f2
Thanks; cherry-picked to all supported branches.
Sorry, something went wrong.
No branches or pull requests
In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.8.6(latest)
Describe the bug
The latest Spring Kafka documentation contains outdated information about KafkaListenerContainerFactory (two generic types):
https://docs.spring.io/spring-kafka/reference/html/
But the current version of KafkaListenerContainerFactory has only one generic type:
https://github.com/spring-projects/spring-kafka/blob/main/spring-kafka/src/main/java/org/springframework/kafka/config/KafkaListenerContainerFactory.java
public interface KafkaListenerContainerFactory<C extends MessageListenerContainer> {
To Reproduce
Expected behavior
Spring Kafka documentation should use only one generic type for KafkaListenerContainerFactory.
The text was updated successfully, but these errors were encountered: