Spring Boot | Spring Cloud Stream
Implementing a Kafka Producer and Consumer using Spring Cloud Stream
Step-by-step guide on how to implement the News Producer and Consumer apps
In this article, we will implement two Spring Boot Kafka applications: News Producer and News Consumer. We will use Spring Cloud Stream framework. The news will be sent from the producer to the consumer using JSON (JavaScript Object Notation) as the content type.
Here is a simple diagram of what we will build.
We’re using News Producer and News Consumer applications as an application in a series of articles. Throughout these articles, we’ll cover topics such as implementing unit tests, implementing end-to-end, deployment to Kubernetes and more.
So, let’s get started!