filmov
tv
Spring Boot with Kafka Producer & Consumer Example #kafka #springboot #java
Показать описание
Learn how to integrate Spring Boot with Docker image of Kafka Streaming Platform.
Spring Boot provides ready made templates to implement Kafka Producer and Kafka Consumer applications that write and read data to and from Kafka topics. In this example we run the Kafka on Docker Container and try to invoke the producer with Spring REST API and write data to kafka topic and once the data or message arrived on kafka topic Kafka consumer will read the message by deserializing it from kafka topic and prints the message on console. You can see also how install / run kafka in docker.
Nowadays Spring Kafka combination getting more popular, since the many companies started building Event driven systems or microservices. Kafka very well fit into event sourcing architectures.
And also we can use Kafka as Event bus so that any producer application can publish messages to the kafka topics and any kafka consumer application can subscribe to particular topic and can consume messages. Spring provides kafka listener template to consume the messages from kafka topics in easy way.
▬▬▬▬▬▬ ⏰T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Introduction
0:11 - Intro to Spring Boot & Kafka
1:59 - Building Project with Spring Initializer
3:50 - Creating Kafka Producer
8:45 - Creating Kafka Consumer
12:05 - Creating docker compose file
15:20 - Testing with Postman client app.
▬▬▬▬▬▬▬▬ ✅ Spring Boot & Docker related Videos ✅ ▬▬▬▬▬▬▬▬▬▬
#springboot #kafka #docker #techtter
▬▬▬▬▬▬▬▬ ✅ Subscribe To Channel on Social Media ✅▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔥 Disclaimer/Policy:
The content of the videos, ideas given in videos all are self opinionated. The code samples shown in the video are collected from opensource projects shared on github and from other sources. The trademarks and logos shown on thumbnails and in videos are registered for respective companies. This video is not certified or accredited by them.
Spring Boot provides ready made templates to implement Kafka Producer and Kafka Consumer applications that write and read data to and from Kafka topics. In this example we run the Kafka on Docker Container and try to invoke the producer with Spring REST API and write data to kafka topic and once the data or message arrived on kafka topic Kafka consumer will read the message by deserializing it from kafka topic and prints the message on console. You can see also how install / run kafka in docker.
Nowadays Spring Kafka combination getting more popular, since the many companies started building Event driven systems or microservices. Kafka very well fit into event sourcing architectures.
And also we can use Kafka as Event bus so that any producer application can publish messages to the kafka topics and any kafka consumer application can subscribe to particular topic and can consume messages. Spring provides kafka listener template to consume the messages from kafka topics in easy way.
▬▬▬▬▬▬ ⏰T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 - Introduction
0:11 - Intro to Spring Boot & Kafka
1:59 - Building Project with Spring Initializer
3:50 - Creating Kafka Producer
8:45 - Creating Kafka Consumer
12:05 - Creating docker compose file
15:20 - Testing with Postman client app.
▬▬▬▬▬▬▬▬ ✅ Spring Boot & Docker related Videos ✅ ▬▬▬▬▬▬▬▬▬▬
#springboot #kafka #docker #techtter
▬▬▬▬▬▬▬▬ ✅ Subscribe To Channel on Social Media ✅▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
🔥 Disclaimer/Policy:
The content of the videos, ideas given in videos all are self opinionated. The code samples shown in the video are collected from opensource projects shared on github and from other sources. The trademarks and logos shown on thumbnails and in videos are registered for respective companies. This video is not certified or accredited by them.
Комментарии