Spring Boot and Kafka ��� Practical Example

This blog post shows you how to configure Spring Kafka and Spring Boot to send messages using JSON and receive them in multiple formats: JSON, plain Strings or byte arrays.

This sample application also demonstrates how to use multiple Kafka consumers within the same consumer group with the @KafkaListener annotation, so the messages are load-balanced. Each consumer implements a different deserialization approach.

Besides, at the end of this post, you will find some practical exercises in case y...

 •  0 comments  •  flag
Share on Twitter
Published on February 27, 2021 22:00
No comments have been added yet.