You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Hello, while reading this article I noticed you are declaring
KafkaProducerConfig
andKafkaConsumerConfig
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.
The text was updated successfully, but these errors were encountered: