Mastering Kafka E2E Integration Testing in Spring Boot with TestContainers | JavaTechie

preview_player
Показать описание
#JavaTechie #SpringBoot #Kafka #IntegrationTest #Testcontainers

In this tutorial, we will walk through the process of creating an integration test for a Kafka-based application using Test Containers. Test Containers is a powerful tool for running Docker containers in JUnit tests, making it easy to set up and tear down dependencies like Kafka for integration testing.

👉 Write Integration Test for Producer application
👉 Write Integration Test for Consumer application

Spring boot Integration test using TestContainers

Spring boot microservice Premium course lunched with 70% off 🚀 🚀

Hurry-up & Register today itself!

PROMO CODE : JAVATECHIE50

OR use Javatechie APP

Download the JavaTechie app on your iOS or Android device from the App Store or Google Play Store.

Find the links below :

GitHub:

Blogs:

Facebook:

Join this channel to get access to perks:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

Very informative video on "Kafka Integration Testing". Appreciate your efforts, Basant. God bless you. 🙂

gopisambasivarao
Автор

Great tutorials so far... If you can also cover topics like Avro serialization/deserialization and Schema Registry, That would be great.

ManishSingh-djyu
Автор

I am waiting since long time. Thank you sir

anwarshaik
Автор

bro you are the best. I learned many things with youand all worked perfectly

souhaillam
Автор

It's again a great work. Just one question, how to validate the consumer has received the data. I can see in the log but need to call the consumer method for actual assertion.

mukeshmandal
Автор

i have an error running the test : /tmp/testcontainers_start.sh: line 3: /etc/kafka/docker/run: No such file or directory

midohegazi
Автор

Nice video, thanks for valuable information ❤️

nikhilsrivastav
Автор

Great content as always. I have a question pls: can Kafka be used to schedule recurring events let's say, hourly, daily, weekly, or even monthly just like the way these auto monthly subscription work.
I've heard about cron jobs, but can Kafka be used for the same purpose?

ogundimuhezekiah
Автор

by using auto-offset-reset: latest my test failed because listener did not pick up the message. I have to use earlist for it. could you tell me why I have this issue?

AmirRezaMashalian
Автор

Will it work if system don’t have docker installed?

SurajKumarSingh
join shbcf.ru