Spring Boot | Spring Cloud Stream | Cloudevents

Using Cloudevents in a Kafka Producer and Consumer that uses Spring Cloud Stream

Step-by-step guide on how to configure Cloudevents in News Producer and Consumer apps

Ivan Franchin
Javarevisited
Published in
4 min readNov 6, 2023

--

Photo by engin akyurt on Unsplash

In this article, we will explain how to configure Cloudevents in two Spring Boot Kafka applications: News Producer and News Consumer.

Cloudevents is a specification for describing event data in common formats to provide interoperability across services, platforms and systems.

You can find the complete code and implementation in the article linked below. Feel free to follow the steps explained in the article and get started.

This is one article of a series of articles where we are using the News Producer and News Consumer as base applications. Throughout these articles, we’ll cover topics such as implementing unit tests, implementing end-to-end tests and deployment to Kubernetes.

--

--

Ivan Franchin
Javarevisited

Lead Software Developer with BS and MS in Computer Science. Writing about Java, Spring, software development in general, and emerging technologies.