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

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • #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 3 Integrat...
    Spring boot microservice Premium course lunched with 70% off 🚀 🚀
    Hurry-up & Register today itself!
    COURSE LINK : javatechie5246...
    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 :
    Android 🌐 : play.google.co...
    IOS 🌐 : apps.apple.com...
    GitHub:
    github.com/Jav...
    Blogs:
    github.com/Jav...
    Facebook:
    / javatechie
    Join this channel to get access to perks:
    www.youtube.co...
    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

ความคิดเห็น • 22

  • @gopisambasivarao5282
    @gopisambasivarao5282 ปีที่แล้ว +2

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

  • @anwarshaik8578
    @anwarshaik8578 ปีที่แล้ว +2

    I am waiting since long time. Thank you sir

  • @ManishSingh-dj4yu
    @ManishSingh-dj4yu ปีที่แล้ว +2

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

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      I will do that buddy

  • @souhaillam3694
    @souhaillam3694 ปีที่แล้ว +1

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

  • @2RAJ21
    @2RAJ21 หลายเดือนก่อน

    Thank you.

  • @mukeshmandal3984
    @mukeshmandal3984 ปีที่แล้ว +1

    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.

    • @Javatechie
      @Javatechie  ปีที่แล้ว +1

      Consumer method type is void so just change its return type and validate it otherwise store events in some db and validate again it depends on the use case how you want to play with events

  • @nikhilsrivastav7571
    @nikhilsrivastav7571 ปีที่แล้ว +1

    Nice video, thanks for valuable information ❤️

  • @ogundimuhezekiah845
    @ogundimuhezekiah845 ปีที่แล้ว +1

    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?

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Yes but you must need to use the cron job to schedule this automation task using Kafka

  • @sachinpete4507
    @sachinpete4507 ปีที่แล้ว +1

    Thank you so much sir 🙏

  • @sayantanghosh8245
    @sayantanghosh8245 ปีที่แล้ว +1

    Long awaited....❤

    • @Javatechie
      @Javatechie  ปีที่แล้ว

      Thank you so much 😊 but I am wondering that How did you watch this video buddy? I haven't made it public yet ?

    • @sayantanghosh8245
      @sayantanghosh8245 ปีที่แล้ว +2

      ​@@Javatechie just saw the notification and it made me happy .Reserved it for my weekend ......not yet seen .

  • @sraynitjsr
    @sraynitjsr ปีที่แล้ว +1

    Awesome ❤😊

  • @pratishrutipanda6461
    @pratishrutipanda6461 ปีที่แล้ว +1

    Nice concept

  • @AmirRezaMashalian
    @AmirRezaMashalian ปีที่แล้ว

    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?

  • @midohegazi5986
    @midohegazi5986 2 หลายเดือนก่อน

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

  • @SurajKumarSingh93
    @SurajKumarSingh93 8 หลายเดือนก่อน +1

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

    • @Javatechie
      @Javatechie  8 หลายเดือนก่อน

      No it won’t

  • @RishiRajxtrim
    @RishiRajxtrim ปีที่แล้ว +1

    💯👍