Event Driven Microservices using Spring Boot | Full In-depth Course
HTML-код
- Опубликовано: 26 сен 2024
- Join this channel to get access to perks:
/ @dailycodebuffer
An event-driven architecture uses events to trigger and communicate between decoupled services and is common in modern applications built with microservices. An event is a change in state, or an update, like an item being placed in a shopping cart on an e-commerce website.
Github CQRS: github.com/sha...
Github SAGA: github.com/sha...
Axon Download Page: axoniq.io/down...
Event Sourcing: axoniq.io/reso...
RECOMMENDED COURSES
---------------------------------------------------------------------------------------------------------
► Microservices using SpringBoot | Full Example - • Microservices using Sp...
► Event Driven Microservices with CQRS Design Pattern - • Implement CQRS Design ...
► Implement SAGA Design Pattern using Spring boot and Axon Framework - • Implement SAGA Design ...
► Spring Data JPA Tutorial | Full In-depth Course - • Spring Data JPA Tutori...
► Deploy Springboot Microservices to Kubernetes Cluster - • Deploy Springboot Micr...
► Automate Microservices deployment with Github Actions - • GitHub Actions Tutoria...
► Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
► Node JS Full Course for Beginners: Learn in 2 Hours - • Node JS Full Course fo...
► Express.js Tutorial - Beginner | 2021 - • Express.js Tutorial - ...
► Redis CLI Tutorial | Complete Course - • Redis CLI Tutorial | C...
Follow us on :
--------------------------------------------------------
Website: www.dailycodebu...
Facebook: / dailycodebuffer
Twitter: / dailycodebuffer
Instagram: / dailycodebuffer
GitHub: github.com/dai...
My Laptop :
------------------------------------------------------
ASUS ROG Zephyrus G14, 14" - amzn.to/3tMb1I6
ASUS ROG Zephyrus G14, 14" (US) - amzn.to/3xa6X6m
Audio Gear :
------------------------------------------------------
Maono AU-A04 Condenser Microphone : amzn.to/32FOpwI
Maono AU-A04 Condenser Microphone (US) :amzn.to/3awzUj7
Secondary Audio :
------------------------------------------------------
Maono AU-100 Condenser Clip On Lavalier Microphone : amzn.to/3sGIbYd
Recommended Books:
------------------------------------------------------
Mastering Spring Boot 2.0 (Kindle): amzn.to/3tHJV4L
Mastering Spring Boot 2.0 (US) : amzn.to/3tHNUy5
Building Microservices(Kindle) : amzn.to/3gsA1jL
Building Microservices(US) : amzn.to/3dDnfNn
Spring Boot in Action : amzn.to/2Qo6YTM
Spring Boot in Action (US) : amzn.to/32DkeX9
Spring Microservices in Action : amzn.to/3gsA3rT
Spring Microservices in Action(US): amzn.to/32G3Hl7
Music:
-------------------------------------------------------
Hear the Noise (Sting): www.youtube.co...
“Sound effects obtained from www.zapsplat.com“
#Springboot #EventDriven #Microservices #DailyCodeBuffer #Saga #CQRS
I am going to subscribe this particular channel😂
Thanks 🙏
Sahi pakde hai...
Its so beautiful BRILLIANT and full of passion and integrity that its one out of millions quality work in microservices understanding that like us who are very naïve and new in this field, find it sky high inspiring to become able to take control on the reverse mechanism of the microservices when a single microservice fails to let all the other microservices need to take care of integrity of data and states of the objects. Heartful of thanks and wishes for you Shabbir Dawoodi, you are just a GENIUS!
🙏🏻🙏🏻
I couldn't finish this video without writing this comment😁😁😃 your teaching skill is number ONE , Thanks bro
Thanks 🙏
My favourite instructor strikes again! Thanks a lot!👏
Thanks man 🙏
hello , I really like your video , but What I would if you can , is to show how you find and understand the documentation if possible , ( as well as some demo for spring cloud AWS ) thanks , I really like your content BIG UP👍
God bless you Shabbir!! We are getting awesome content from you free of cost!! You are a gem
Thank you so much 🙏🏻🙏🏻
mere chote bhai... bahut bahut dhanyawad....
You inspire me a lot, I had been looking for content rich video on this topic...
Keep creating such awesome tech contents...
How I wish I could smash the like button a million times 🙂, Thanks a million, bro, for all these great videos you are giving us for free. God bless !!!
Thanks 🙏🏻
Every time I'm amazed by your content brother. Keep going you are doing great. Awesome. Thanks for everything
🙏🏻🙏🏻🙏🏻
Great work. Demoing work is what most people would shy away
Great videos! Very nice pace and clear explanation. Thank you very much for making this awesome course!
This is an amazing guy I like your videos & teaching style. Keep it up, Love from Pakistan
Thanks 🙏
Very informative and practical. I learnt a lot. thank you.
Glad it was helpful!
I don't understand the write side of CQRS, if we have two database (write and read db) and would like to save an domain object in read database where should we persist it? in command handler? Because you only update the read database by event handler, right?
nice course, very helpful if you didn't face with event driven microservices architecture
Fantastic course and really well explained man!
Just to leave it requested, it would be great if you could expand the course with Spring Cloud, centralized logging and circuit breaker tools. Also, I would love to see how you managed the notification service and the rest of the missing compensations.
Anyhow, you are the best! Thanks a lot!!
Thanks 🙏🏻
Great explanation, keep up your awesome work! looking forward to the next video
Hope you enjoy the tutorial 🙏
Great work!! It will be helpful if you can add breakdown of the topics in description...
Great course ..Was able to code along and complete it.
a good practical guide for CQRS and Saga
what a content to help cover microservice . This is awesome
Thanks 🙏. Glad you enjoyed the tutorial
Hi Shabbir, the CQRS example you took is sharing the same database. Isn't the whole point of CQRS is to make the applications loosely coupled? How do I connect my command and query databases and make sure they are in sync?
Awesome! Your tutorial is very practical, which I like.
Thanks 🙏🏻
You have really nailed it . good job .Keep up the good work
Thanks 🙏
Awesome course bro!! Really looking forward to seeing some course that uses Kafka as well.
I am following your courses for a long time, everything was explained in an easy to understand manner,
please make some courses on Front-end as well most preferably with Angular.
It helps lots of Full stack developers to improve their skills.
Hi ji plz put mainly for Apache camel with java springboot full video.
Iam early waiting to learn from you this plz.
Bcz u taught me more abt springbbot microservices clearly and now got placed in branded company.
Thanks
Love the videos. Keep up the good work man. Really love your microservice videos.
Thanks a lot ☺️
You have consumed all the available word "particular" in the world.
😜
Hats off to your efforts, keep rocking as always🤝
Thanks brother 🙏
Very useful course.
Thanks 👍
thanks for this particular course 👍
Thanks for the lecture
Most welcome!
Great explanation 👍 Keep going for more these kind of technical videos.
Thanks 🙏
Hands on it guru. 👏🙏🙏
This is not event driven but a very good example of event sourcing, my point of view this is too early as event sourcing should be part of some framework so the developers should focus on the key work they assigned, may be an annotation on the Controller or Spring configuration also tracing needs to be incorporated to link the events in the multithreaded environment, which leads to another problem of single point of failure, unless you have event server backed by the load balancer but then due to stateless affect sequence of sates will be present of different server and become bigger issues to playback the sequence of simple events say customer placed the orders and before the order process triggered how many events have been sourced.
Bro.. You are awesome, keep producing such awesome content ♥️, plz cover topics like Kafka and redis also in a large production grade project
Anywho, I know it takes time ♥️.. But you are awesome bhia ♥️
❤️👍
Your voice is so nice 💯. I really enjoyed the session
Thanks 🙏
Good leacture
Nice video bhai ❤❤ very good information you have shared ❤ now you have earned a new subscriber.. ❤
Excellent Explanation Bro..
Thanks 🙏
Good job and good explain thanks sir !
what happened after 2:54:03 ?? I am getting user null still
How to implement a rollback in the microservice in the event that one of the services fails. What should be done about failed transactions that affect every microservice? Would you kindly provide advice or a video on how to handle rollbacks for each microservice's transaction?
You are doing awesome....🤙🤜🤛...
Thanks 🙏🏻
You are doing the great job buddy 👍❤️
Thanks 🙏
Thank you for that great Video. Would be great if you would add timestamps to the different chapters
Thank you brother ......for your efforts
Hope you enjoy the tutorial 🙏
You are too good bro...
Just sharing what I have learned from the community 🙏🙏
Awesome tutorial ever seen..Thanks for such a great one.Could you pls make video on Spring cloud contract for contract testing as well? It would be very helpful..Thanks
How do you accessed common services class into other services?... What's are dependency?
Just the common service dependency
This channel 5/5
🙏🏻
Very well explained!
Thanks 🙏🏻
Hey, Current axon framework version is 4.5.8. As per your instructions, I've used 4.5.3. But i'm getting the error as follows "Error creating bean with name 'entityManagerFactory': If I use 4.5.8 version, i'm getting the User object as NULL from Userservice. Not sure how to fix this. please help me.
Btw, I got it worked. I used the axon framework as 4.5.3. I need to change the spring boot version as well. I used the same version as you have used. It is now working fine for me. Thanks for the video.
Thank you
Great Tutorial! Do we need to create 4 different services for SAGA? Can we create all the 4 services as packages in the same service? Also is it a good idea to follow SAGA & CQRS only for order, payment & shipment services and use only simple MVC pattern for all the other CRUD operations of User, Address, Business, etc tables?
plz do one video on intellj id shhirtcuts
Awesome Event driven Explanation.. Can you please integrate with Kafka ..?
Thanks 🙏🏻
Thanks!
hi sir...im from bangladesh... sir please make this course in hindi too...respect from bangladesh 👏🇧🇩
Excellent Content!!
Thanks 🙏
Thank you so much!!!
Hi Shabbir, when we are handling exceptions in the event. How does it reverts the data entry, (where we already saved the product) as well ?
Hi bro, can you please make videos on oauth it will be more useful for us
Thanks a lot brother.
Hope you enjoyed the tutorial 🙏
Thank you 👍🏼🎉🙏⭐❤️ subscribed
🙏
Your tutorial is 🤩 . I learnt through it, but ran into an issue. Could you help figure out what is wrong? Cannot invoke "model.User.getCardDetail()" because "user" is null
Getting below error while starting application
Description:
Parameter 0 of constructor in com.dailycodebuffer.ProductService.command.api.controller.ProductCommandController required a bean of type 'org.axonframework.commandhandling.gateway.CommandGateway' that could not be found.
Action:
Consider defining a bean of type 'org.axonframework.commandhandling.gateway.CommandGateway' in your configuration.
How to resolve ?
Error :
"OUT_OF_RANGE: [AXONIQ-2000] Invalid sequence number 0 for aggregate 0, expected 1"
it makes no sense to have 200 as a response of the postMapping when having an exception in your example starting from 1:01:00, it should be a 400 with a response message, i tried to use controllerAdvice with your example but it doesn't work, i'm getting some weird response and also the postMapping get's executed immediatly when running the application
Your great bro thank you so much
Thanks 🙏
Good work!
Thanks
It looks great but I realllyyyyy don't feel like adding axon framework as a dependency.
can you do another one but using kafka
thanks
Hello Brother,
Please make a video on micronaut with reactive stack.
Very rare contents(good) available on this topic.
Simply best
Thanks 🙏
Uncle Roger loves this widjo.
Thanks for your detailed description. One question which I have is, since you are running all the services in different port, how each service know each other with configuring the end point? Is it through command handler when you submit the send method
pls clarify
Hi sir, how to respond to a value other than String to the client when executing in the command controller. For example, when a user posts email, password -> command controller completes authentication -> responds with some user information along with token?
Thanks but, about the exception handling:
1- Your error message is so general 58:07
2- Your banana sample is fine why you put an exception after the save method! 59:09 if this is just a sample of exception handling it's confusing.
Sorry for the confusion
I will try to be precise from new videos
Thank you so much for feedback 🙏🏻🙏🏻
Great Job ! Just want to understand how have you decided to go for Axon and why not Eventuate tram , Any advantages /disadvantages or comparison
Can you please do spring security complete course
Have you worked on client projects that were built using CQRS architecture? Just curious how popular this is, in industry.
thank you
🙏🏻
Excellent presentation as always. Is it possible to share with us your google slides? thank you in advance
Yes, I will add in the Description
@@DailyCodeBuffer Thank you
after finishing of the transaction, agreed with the exception thrown and the record is not saved. But if I stop and restart the springboot, the "on" method is automatically called. Anyhow its not saved but how to avoid the calling of the "on" method in event handler. Or how to delete the event of the save of "Apple" record from axon ?
Looks great! I’m still halfway of the video. Would you mind to share your IDE theme and settings? Looks pretty neat
Thanks 🙏
Using Xcode dark theme
good video as always! please add english sub. thanks for great content
Thanks 🙏
Great content, well explained. BTW what IDE theme are you using? Looks neat
Thanks 🙏
Xcode dark
I am getting the error message OUT_OF_RANGE: [AXONIQ-2000] Invalid sequence number 0 for aggregate d58e6c5e-7678-4c02-8480-ff682121e0a4, expected 1, after the PaymentAggregate is called and completed. what is the issue beneath ?
Your aggregate identifier is not unique. Change line
@AggregateIdentifier
private String productId= UUID.randomUUID().toString();
It will help. Don't know why in author example there is no error. May be he fixed it without showing us.
Awesome course bro!! What are your intelliJ theme and font type? really like it!
Thanks 🙏🏻
Xcode Dark theme
Monaco font
Please can You actívate the autogerated subtitles english in youtube
do you have a group discussion
Awsome content Bro !!
It will be helpful if you can share the ppt or pdf file for this. Thank you!
hey can you make one for securing the microservices using jwt?
Hello sir, could you do something on Multi-module and multi-tenancy tutorial
I will plan on it
Hi Shabbir, do you suggest using frameworks like Camunda, and Axon or writing everything manually ?
Hi, would you recommend using Axon for CQRS or write it manually?
If it is feasible, why to reinvent the wheel
But you can do manually as well without any frameworks
Mainly dependent on projects
From where did you get userId, addressId, productId while doing POST method on "/orders" endpoint ?
Can you please help ?
Hey Shabbir , is this video related to Stream API?
Did u have microservices with spring boot full course?
Yes
@@DailyCodeBuffer please share course link
ruclips.net/video/BnknNTN8icw/видео.html
please can you provide github link for the projects?
Link is in the description of the video
@@DailyCodeBuffer thank you
Hi can i have your PPT if possible .its good to understand.