spring for apache kafka
2.0.x
is not compatible with spring boot
2.1.x
. you have to use
spring-kafka 2.2.x
. more over would be better to just rely on the dependency from spring boot per se. please, see
https://start.spring.io/
for more info how properly start the project for spring boot.
and please, don’t duplicate your question in different places if that was not asked.