Reputation: 3234
What is the difference between these 2 binders? Their behaviors are more or less same - like producing, processing and consuming.
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-kafka-streams</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-kafka</artifactId>
</dependency>
Upvotes: 1
Views: 300
Reputation: 174484
The first is specifically for Kafka Streams (KStream
, KTable
), the second uses the kafka Consumer and Producer clients directly (via spring-kafka and spring-integration-kafka).
Upvotes: 3