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

Поделиться
HTML-код
  • Опубликовано: 9 сен 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 Год назад +1

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

  • @souhaillam3694
    @souhaillam3694 11 месяцев назад +1

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

  • @anwarshaik8578
    @anwarshaik8578 Год назад +2

    I am waiting since long time. Thank you sir

  • @ManishSingh-dj4yu
    @ManishSingh-dj4yu 11 месяцев назад +2

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

    • @Javatechie
      @Javatechie  11 месяцев назад

      I will do that buddy

  • @2RAJ21
    @2RAJ21 2 дня назад

    Thank you.

  • @sachinpete4507
    @sachinpete4507 11 месяцев назад +1

    Thank you so much sir 🙏

  • @nikhilsrivastav7571
    @nikhilsrivastav7571 Год назад +1

    Nice video, thanks for valuable information ❤️

  • @midohegazi5986
    @midohegazi5986 Месяц назад

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

  • @sraynitjsr
    @sraynitjsr Год назад +1

    Awesome ❤😊

  • @pratishrutipanda6461
    @pratishrutipanda6461 Год назад +1

    Nice concept

  • @AmirRezaMashalian
    @AmirRezaMashalian 10 месяцев назад

    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?

  • @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 .

  • @RishiRajxtrim
    @RishiRajxtrim Год назад +1

    💯👍

  • @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

  • @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

  • @SurajKumarSingh93
    @SurajKumarSingh93 7 месяцев назад +1

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