Kafka Tutorial - Spring Boot Microservices

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 305

  • @amigoscode
    @amigoscode  2 роки тому +45

    Full Course Available here: amigoscode.com/p/microservices
    See you there

    • @brandonquintanillaquispe5455
      @brandonquintanillaquispe5455 2 роки тому +2

      Hi Nelson! I would love to get the full course, but I have a doubt. Will the course include the projet deployment on AWS, GC or Azure?

    • @czargaurav
      @czargaurav 2 роки тому +4

      Hi Nelson .. what’s the discount code for this full course ?

    • @DevMadeEasy
      @DevMadeEasy 2 роки тому +1

      Hey Nelson, I'm a big fan of your work.

    • @atefjlassi193
      @atefjlassi193 2 роки тому

      Thank you Nelson, can you upload this course on udemy ?

    • @NitrosS
      @NitrosS 2 роки тому

      @@brandonquintanillaquispe5455 I think not

  • @NolteGameOver
    @NolteGameOver Рік тому +5

    I worked with activemq and rabbitmq but never with kafka, this really clears my mind, basics like these are important to me, now I can start digging for more extended info. Thanks

  • @thodoristsoufis1253
    @thodoristsoufis1253 2 роки тому +22

    Nelson your way of teaching and sharing knowledge is brilliant. You should be proud of yourself. Continue like this !!!

    • @CheeseStickzZ
      @CheeseStickzZ Рік тому

      he's an idiot and has no idea what he's talking about, go read my comment above to know why

  • @pedro.carara
    @pedro.carara 2 роки тому +9

    uhullll on the weekend I coded the entire course, looking forward to the last class!!! amigoscode you are a amigo to me!

  • @anassabrd112
    @anassabrd112 3 місяці тому +1

    Thanks for this introduction to Kafka, it's simple and easy to understand the basics of this tool. I am ready to go deeper now.
    Update: I am updating my comment because it is worth mentioning that Zookeeper is no longer recommended for communication across Kafka clients.

    • @mupenziii2097
      @mupenziii2097 3 місяці тому

      Hello, what would you recommend now instead of zookeeper?

    • @anassabrd112
      @anassabrd112 3 місяці тому

      @@mupenziii2097 ZK is still used in current Kafka version (3.x) alongside with KRaft, but starting from next version (4.x), only KRaft will be supported.

  • @PostMapping
    @PostMapping Рік тому +2

    جزاك الله خيرا يا أخي الكريم! ما شاء الله، بارك الله فيك!

  • @SamriBliss
    @SamriBliss 2 роки тому +1

    Glad you’re back! I’ve written a Spring boot app that reads from and writes to a topic and I’m not changing the app to also send to a postgreSQL as well.

    • @abdellahlakhnigue3086
      @abdellahlakhnigue3086 9 місяців тому

      I want to ask you bro can u give le ur email or something like that?

  • @ian0m
    @ian0m 2 роки тому +5

    This is the clearest description and illustration of what Kafka is and how it's structed thar I've seen yet. Thanks!!!!

  • @azizbekibnhamid642
    @azizbekibnhamid642 2 роки тому +4

    Amazing course, rahmat !

  • @ChandlerBing11
    @ChandlerBing11 2 роки тому +1

    Mama Samba is a great IT content creator here. I am a huge fan

  • @kundaimusindo5658
    @kundaimusindo5658 2 роки тому +1

    your courses are the best man, thank you so much, much love from Zimbabwe

  • @FranciscoQuintero-em7tr
    @FranciscoQuintero-em7tr Рік тому

    Absoluty ... the java goat in YT content. thanks

  • @mimmithegreat1427
    @mimmithegreat1427 2 роки тому

    trying to find myself the solution to a project and here comes amigoscode to the rescue! ^^

  • @hoki8296
    @hoki8296 Місяць тому

    Excellent tutorial for Spring Boot with Kafka. Thank you.

  • @valentinpopescu6704
    @valentinpopescu6704 2 роки тому

    I bet you have the M1 MacBook. Damn, the speed it sends those messages is astonishing! I followed your tutorial on my job laptop which is a pretty strong machine itself too, but it couldn't keep up with the MacBook lol

  • @andres98
    @andres98 2 роки тому

    Congrats for a really self-explanatory video!

  • @mukendiemmanuel5640
    @mukendiemmanuel5640 2 роки тому

    your are one of the best teach i've follow

  • @theclam1338
    @theclam1338 2 роки тому

    The video we’ve all been waiting for

  • @qaisarbaltabay
    @qaisarbaltabay 11 місяців тому

    а very simple and important lesson, thank you

  • @abdurrehmankhalid2290
    @abdurrehmankhalid2290 2 роки тому

    I have to mention somethings,
    If you are working on the windows machine then you have to install and configure the Gradle and Scala in order to build the Kafka project. It will give an error using Scala for the first time, that you need to build the project before running the scripts, and by the way you can run Bash Scripts from the Git Bash command line tool.

  • @jakhongirrasulov2329
    @jakhongirrasulov2329 2 роки тому

    before watching this video, I smashed the like button, because I know it will be worth.

  • @python2448
    @python2448 2 роки тому

    I'm so glad, the youtube recommended me this video. 👏

  • @andyescobar202
    @andyescobar202 Рік тому

    🎉 That tutorial was perfect.

  • @brandonstivenrodriguezalda6300

    Excellent video about Kafka and its implementation

  • @Amapramaadhy
    @Amapramaadhy 2 роки тому

    What a beautiful soul! Thank you amigos

  • @martianstarslit3768
    @martianstarslit3768 Рік тому

    THANK YOU SO MUCH FOR THIS, WE WOULD APPRECIATE MORE IF IT WAS ON GITHUB TOO

  • @_skeptik
    @_skeptik Рік тому

    this is really some very structured tutorial, thank you

  • @qwertyguy7750
    @qwertyguy7750 2 роки тому

    Nelson is a legend, that’s it!

  • @alexluke_again
    @alexluke_again 2 роки тому +1

    love your content. you're so calm and a wonderful presenter. best of luck

  • @DevMadeEasy
    @DevMadeEasy 2 роки тому +2

    Hey Amigoscode, Great Content as Always!✨
    Thanks for Sharing it!🙏🏻
    You Have Been an Inspiration for My Own 📺UA-cam Channel!!!

  • @himanshubhusanrath212
    @himanshubhusanrath212 2 роки тому +1

    Thorough explanation of the concepts as well as the application. Kudos !!

  • @ArjunKumar-zu2kl
    @ArjunKumar-zu2kl Рік тому

    Just wow, Amigo, Thank you so much :)

  • @eddylequartier
    @eddylequartier 9 місяців тому

    @amigoscode Hello big boss :-) I have a question. at minute 46:30 you write a messageController with a constructor like "public MessageController(KafkaTemplate kafkaTemplate) {some code}". But it is useless : why don't you simply inject the spring bean like that : @Autowired KafkaTemplate kafkaTemplate ?

    • @anassabrd112
      @anassabrd112 3 місяці тому

      Constructor injection has a lot of advantages over field injection, in matters of testability, clear visibility of dependencies, null safety as it ensures that all necessary dependencies are available, and makes the code more flexible and maintainable. That is why I prefer the constructor injection over the annotation.

  • @halcyon-s
    @halcyon-s Рік тому

    Thanks for amazing tutorials!

  • @sanatbek819
    @sanatbek819 2 роки тому

    Hope your community will be 1 mln soon, InshaAllah brother!

  • @thatoneuser8600
    @thatoneuser8600 2 роки тому +9

    Can you do a video on Reactive Spring with Reactor? There's like 123 different operators for transforming/manipulating data, I'm drowning in complexity :(

    • @mohammadziakhan5693
      @mohammadziakhan5693 2 роки тому

      I do understand your pain

    • @03greedo29
      @03greedo29 2 роки тому

      Yo i feel you. I told myself i was going to read for an entire day before i touched anything. Learned so much today about KAFKA. If anyone is looking to hire a KAFKA engineer, reply to this message. Seven years of XP

  • @hamidoubalde2517
    @hamidoubalde2517 2 роки тому

    Lot of thanks Nelson. You do great work.

  • @oficialreinaldoneves
    @oficialreinaldoneves 2 роки тому

    You are my hero man. Thank you so much for this content.

  • @segfal
    @segfal 2 роки тому

    I love that you made this, i was looking everywhere for this!

  • @mariumbegum7325
    @mariumbegum7325 Рік тому

    Fantastic tutorial

  • @thalibmuhammad9519
    @thalibmuhammad9519 2 роки тому

    dude, why you are so good

  • @kluch46
    @kluch46 2 роки тому +1

    37: 38 Correct me if I'm wrong, but in order to Spring can discover and use the custom KafkaListenerContainerFactory you specified, by deafult
    the bean name must be as kafkaListenerContainerFactory (not factory), otherwise it won't be picked up by the application context and none of
    the specified serializers and deserializer for consumers will be applied, but default KafkaListenerContainerFactory instance with default SerDes instead.

  • @cezarybek6679
    @cezarybek6679 2 роки тому +2

    Hey Nelson, at minute 41:40, you said that if we have more than one instance/replica of the same application, these applications will read from the SAME partition. Are you sure about that? I'm pretty sure that if you want to scale the application you MUST implement partitions OTHERWISE the second instance of the application will stay without any log from the subscribed topic.
    Please give me a feedback about that!
    Thank you,
    Cezary B.

  • @loandao1996
    @loandao1996 4 місяці тому

    Thanks sir! This's really helpful for me

  • @JSneider05
    @JSneider05 2 роки тому +2

    Looking forward to learn Kafka.

  • @skazijp
    @skazijp 2 роки тому

    how happy i am seing great muslim software engineer, thanks for the content

  • @TheBhabanisankar
    @TheBhabanisankar 2 роки тому

    @Amigoscode, you are awesome ... :)

  • @011ayush
    @011ayush Рік тому

    Thank you for this tutorial. Really helpful.

  • @contactdi8426
    @contactdi8426 2 роки тому +7

    That's my guru🙏🏼 Thanks to great people like these that we are progressing so fast!

  • @taimoor_22
    @taimoor_22 2 роки тому +1

    Amazing video! Keep up the good work brother!

  • @jibink7969
    @jibink7969 2 роки тому

    you are awesome brother, keep going!!

  • @sarahemmati2057
    @sarahemmati2057 2 роки тому

    Hi, Great Video as always! Thank you.

  • @mahmoudebada4025
    @mahmoudebada4025 2 роки тому +1

    جزاك الله خيرا

  • @robertoenriquechavezrodrig731
    @robertoenriquechavezrodrig731 2 роки тому

    Thank you so much for this video! God bless you 😉

  • @ahmedelmawrdy4381
    @ahmedelmawrdy4381 2 роки тому

    Walikom Asslam,
    Wonderful Video bro, please keep it up!

  • @abdaziznet
    @abdaziznet 2 роки тому +1

    hey public record not exist on java 11 is there replacement?

  • @MrOpolo91
    @MrOpolo91 Рік тому

    great course!! thanks a ton:)

  • @MrMarquinho22
    @MrMarquinho22 4 місяці тому

    Thank you, that was great

  • @marouaniAymen
    @marouaniAymen 4 місяці тому

    Thanks for the video, I really liked the course. I have a question, how did you make your console output in IntelliJ colored for Spring Boot server log output ? Thanks.

  • @micha6568
    @micha6568 Рік тому

    Great tutorial, thanks!

  • @akyjlehok5843
    @akyjlehok5843 2 роки тому

    What is that plugin with the cat on rainbow in the project loading/building scale?

  • @devguyahnaf
    @devguyahnaf 2 роки тому +1

    Nelson is giving so much of this course away for free. I just love it!!!

  • @omarlamrabet379
    @omarlamrabet379 2 роки тому

    May Allah reward you for this job bro :)

  • @enfantprodigue4549
    @enfantprodigue4549 Рік тому

    Great Stuff, Thanks for sharing

  • @kumarsaroj18
    @kumarsaroj18 2 роки тому +1

    You have fixed the price of content in terms of dollars, which might be budget-friendly to your viewers from from developed countries in Europe and USA. However, the same price could be very high and out of budget for a lot of needy people, who love ot watch your content on youtube, and willing to enroll into your full course.
    You should think about it.
    I am from India, and been willing to enroll into your courses, but due to price constraint, I am unable to do so....
    You can reach to mass viewers from India, if you revise the price and start accepting in local currencies as well.

  • @ivanlorenzo04
    @ivanlorenzo04 2 роки тому

    Bruuhh, how did you know I was looking at this tutorial!?

  • @jnayehsirine6222
    @jnayehsirine6222 Рік тому

    a friendly reminder :i will appreciate if you start with explaining the code rather than reading the code along . thanks for the free content

  • @zhousx18
    @zhousx18 2 роки тому

    Amigo, great Job!

  • @raghavanaliassaravananm1546
    @raghavanaliassaravananm1546 2 роки тому +8

    Hello Nelson, Great. I have enrolled myself in the microservices course! Just my 2 cents to support your efforts. Keep up the great work. Thank you for sharing your knowledge.

  • @f.5528
    @f.5528 2 роки тому

    Thank you for these great videos.

  • @iReflections
    @iReflections 2 роки тому

    Long live brother, thanks for sharing your knowledge love from chennai , tamil nadu , India

  • @caffeinejavacode1475
    @caffeinejavacode1475 2 роки тому

    It would be nice to see more than Hello World tutorial. Best regards

  • @shermatovs
    @shermatovs 2 роки тому +2

    Hi Nelson. I would really want you to post some great content about websockets, because I think this topic is really interesting for almost every beginner. So would appreciate it!

  • @Release1234
    @Release1234 Рік тому

    @Amigoscode Is there any resources or teaching you've done that tests spring-kafka?

  • @badreeddine3653
    @badreeddine3653 2 роки тому

    Thanks for a beautiful explanation

  • @edwinangar
    @edwinangar 2 роки тому +1

    Hi. In the amigoscode page the kafka chapter No 9 and 10 are mixed, I was lost at the beginning 😂😂

  • @ijasahamed1323
    @ijasahamed1323 2 роки тому

    Noticed that smashing like button became 2 seconds to 1 second 😁🙌

  • @weronika2390
    @weronika2390 2 роки тому

    HI. thanks a lot for the video. Could you tell in the next video about Camunda 8 and Spring Boot

  • @Waldemar-c6s
    @Waldemar-c6s Рік тому

    Hi.. do you have plans to prepare some videos about apache camel? Maybe whole course about that technology? :D

  • @adancastroharos9408
    @adancastroharos9408 2 роки тому

    Thank you very much for these videos, they are very helpful

  • @LPS-ln1mz
    @LPS-ln1mz 2 роки тому

    why not to make kafka setup (serializer, deserializer etc) via application.properties? why you need this boilerplate with maps and configs?

  • @lcwanigasinghe8834
    @lcwanigasinghe8834 2 роки тому

    Grate video. Please do tutorials with Apache Hadoop, Apache Hive, Apache YARN ect...

  • @hectorbracho8177
    @hectorbracho8177 2 роки тому

    great video Nelson... Thank you..

  • @jagadeeshbaskaran4881
    @jagadeeshbaskaran4881 2 роки тому

    Great tutorial. Thanks a lot.

  • @akyjlehok5843
    @akyjlehok5843 2 роки тому

    What is adventage in kafka configuration in the config classes opposit configuration in properties files?

  • @magdalysantos3848
    @magdalysantos3848 2 роки тому

    gracias por tus videos ..! you're the best😎

  • @testmyplaylist
    @testmyplaylist 2 роки тому

    Hi Amigo, thanks for your videos.. really helpful.

  • @harshraj22_
    @harshraj22_ 2 роки тому

    I come from Python based backend background. I am not able to understand how to build this in flask/ fastapi. Does consumer has an api endpoint which is called everytime kafka gets a message ? or is the consumer code like a infinite loop that keeps on running in background checking for new messages in the kafka ?

  • @jebuskmiest
    @jebuskmiest 2 роки тому

    thank you man ☺️

  • @cisinojunior3327
    @cisinojunior3327 Рік тому +1

    Why didn't you use a Kafka docker container?

  • @alanmangroo3656
    @alanmangroo3656 2 роки тому

    Great video! Thank you

  • @j-don6668
    @j-don6668 2 роки тому

    Sooo pumped for this!!!

  • @vjotov
    @vjotov 3 місяці тому

    at 43:05 - why you need to restart once more??? can you explain?

  • @mariocamardella
    @mariocamardella 2 роки тому

    Over the top.

  • @alandecunto753
    @alandecunto753 Рік тому

    So is there a way to secure the Kafka topic or broker for only users register in the API can consume data?

  • @khalilbouali3480
    @khalilbouali3480 Рік тому

    that was very helpful !

  • @narjesshmida5808
    @narjesshmida5808 2 роки тому +1

    Hello Neflson, you put every thing that i need in this tuto... just you are brillant!!! Thank you very much .. i am very fun of all your tutos .. Good Luck 💓💓💓💝💝

  • @bluex217
    @bluex217 2 роки тому +2

    Thanks as always! I have question (coming from Axoniq framework with Spring for CQRS perspective):
    For rollbacks/compensating transactions, what is best practice when using Kafka for event streaming? Do we really need to have our Producer wait in a callback method for the "ack" method to be invoked by consumer (until a specified deadline is reached), spawn a new thread maybe for the waiting, or is there a better non multi-threaded approach? Or, can we just have the consumer also be the producer in this case, so that if there is failure the consumer can just call a "rollback" command that the Producer now also consumes. The latter approach would render the both services both Kafka Producers AND consumers, but seems much better than waiting around and holding the services up

    • @CheeseStickzZ
      @CheeseStickzZ Рік тому +1

      He can't tell you because he has no idea. He doesn't even know wtf he did in this video, he just copy pasted the configuration for non spring boot frameworks in a spring boot vid, lmao

    • @at_1978
      @at_1978 Рік тому

      @CheeseStickzZ your comment is really unnecessary. This man is absolutely brilliant and I’m sure everyone wishes they knew as much as he does. Instead of talking bad about the lesson, use your cheese stick brain to encourage him to keep doing what he’s doing because in my opinion he’s doing a wonderful job. Jealousy will only set you back in life. Please get used to thinking before you speak!
      Asalamou Aleikoum!

  • @IbrahimB-yc2zt
    @IbrahimB-yc2zt 2 роки тому

    you said that kafka topic can keep the message forever, if we send two different messages to the same topic, it will only keep the last one right?

  • @muditjain9117
    @muditjain9117 2 роки тому

    Amazing video. Any chance of getting a link to git repo of the code in the video?