Skip to content
New issue

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

KafkaProducerConfig and KafkaProducerConfig are not needed with Spring Boot #254

Open
lackovic opened this issue Jan 5, 2023 · 0 comments

Comments

@lackovic
Copy link

lackovic commented Jan 5, 2023

Hello, while reading this article I noticed you are declaring KafkaProducerConfig and KafkaConsumerConfig classes.

These classes are not necessary for a Spring Boot application: Spring Boot – unlike Spring – comes with simplified Apache Kafka support by providing auto-configuration, meaning that Kafka configuration is controlled by external configuration properties in spring.kafka.* and does not require to add any Java code.

See the official documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant