Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between spring-cloud-stream-binder-kafka and spring-cloud-starter-stream-kafka

What is the difference between these maven dependencies in a Spring Boot project -

spring-cloud-stream-binder-kafka and spring-cloud-starter-stream-kafka

like image 264
abhaybhatia Avatar asked Oct 27 '25 02:10

abhaybhatia


1 Answers

"spring-cloud-starter-stream-kafka" is a spring-boot-starter for easy version compatibility.

As you can see from the link, https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/blob/v3.0.6.RELEASE/spring-cloud-starter-stream-kafka/pom.xml

"spring-cloud-starter-stream-kafka" has only "spring-cloud-stream-binder-kafka" dependency info

So, if you use a spring boot, it is more convenient to use spring-cloud-starter-stream-kafka

like image 115
bistros Avatar answered Oct 30 '25 16:10

bistros