Event Sourcing in Microservices | Real-time Order Management Example With Spring Boot & Kafka

  Рет қаралды 13,693

Java Techie

Java Techie

Күн бұрын

Пікірлер: 44
@gopisambasivarao5282
@gopisambasivarao5282 3 ай бұрын
Nice Video on Event Sourcing. God Bless you Basant! 🙂👍🙏
@grrlgd3835
@grrlgd3835 3 ай бұрын
JT is the greatest! Keep going buddy. Thanks
@sergiogb
@sergiogb 3 ай бұрын
Awesome, thanks for sharing 😊 🎉
@gopishettymahindra2713
@gopishettymahindra2713 3 ай бұрын
Good Explanation scenario sir. Please do videos for few more micro service design patterns
@ramadanlotfe829
@ramadanlotfe829 3 ай бұрын
Fancy content, we need a complete video about istio please
@nikitapujahari1624
@nikitapujahari1624 3 ай бұрын
Great tutorial.. Can you please bring one tutorial with end end spring transaction implementation. Thanks.
@mohammadtoficmohammad3594
@mohammadtoficmohammad3594 3 ай бұрын
thank you
@nguyenminhquan8352
@nguyenminhquan8352 3 ай бұрын
thanks bro, can you make a video on saga pattern using kafka and redis for storing data?
@Javatechie
@Javatechie 3 ай бұрын
Saga already available please check the design pattern Playlist
@TejaSairavi
@TejaSairavi 3 ай бұрын
Hi sir What is the difference between this concept and having audit table that tracks the record state. Can you please explain
@Derrick-f8m
@Derrick-f8m 3 ай бұрын
Event sourcing can be used for auditing. You will store each event in an event store. You cannot delete any events from this store because it will be used for auditing.
@TejaSairavi
@TejaSairavi 3 ай бұрын
@@Derrick-f8m we achieve the same even in db also right by providing the read access, please correct if i am wrong.
@Derrick-f8m
@Derrick-f8m 3 ай бұрын
@@TejaSairavi you will need to use CQRS and Event sourcing. You have 2 mongoDB datasources. Datasource1 will be used exclusively for reads. Datasource2 will be used for writes (commands). Datasource2 will be your eventstore where all of the commands/events will be saved. Datasource1 will be where u save the current state of the data model/entity.
@RaviRanjan-f6r
@RaviRanjan-f6r 2 ай бұрын
Hi basant, please start one new series on Java all design patterns(crestional, structural and behavioral). 🙏
@susobhandas999
@susobhandas999 3 ай бұрын
Can you show how we can reply the events incase there is an error?
@Derrick-f8m
@Derrick-f8m 3 ай бұрын
To replay the events you need to implement CQRS
@sujith6323
@sujith6323 3 ай бұрын
Thanks for this great video. Will MongoDB be a shared database for all the different service instances in this case? And is that acceptable considering the principle of having a separate database per service in microservices architecture?
@Javatechie
@Javatechie 3 ай бұрын
Yes if business need we also follow shared db concept
@VikashSingh-gq9dd
@VikashSingh-gq9dd 3 ай бұрын
Hi @Basant, thanks for your videos! I noticed that you cover almost all the topics related to Spring Boot. Could you please create videos on Flyway/Liquibase migration and entity/domain auditing (perhaps with Kafka Connect and Change Data Capture (CDC)), which are commonly used in real-world projects.
@VikashSingh-gq9dd
@VikashSingh-gq9dd 3 ай бұрын
Sorry I found that you’ve already covered Flyway and entity auditing in your videos-great job!
@weitanglau162
@weitanglau162 3 ай бұрын
Can you do a video explaining how to implement a common library?
@ZtowhyA
@ZtowhyA 3 ай бұрын
what if you have more than 1 partition, how do you maintain order sequence? and also more than 1 app container.
@Javatechie
@Javatechie 3 ай бұрын
Not getting you exactly,
@ZtowhyA
@ZtowhyA 3 ай бұрын
@@Javatechie kafka partition and in a kubernetes environment with more than 1 pod
@Phoenix-od2bp
@Phoenix-od2bp Ай бұрын
@@ZtowhyA Events for same Kafka key go to the same partition. Since they go to same partition based on the Kafka key, there are always in ordered sequence in a partition. And if you have multiple pods running, the partitions are divided(assigned) between consumers(pod) in a consumer group. So it goes to same partition and same pod for processing. Does that answer your question ?
@vatsanubhav0
@vatsanubhav0 3 ай бұрын
Hi Basant, If someone wants to enroll in your course available at your site, do we get realtime live classes or the recording sessions ? I want to enroll in Microservices course.
@Javatechie
@Javatechie 3 ай бұрын
Hello! Thank you for showing interest. To clarify, the sessions are recordings of live classes, not live sessions themselves. However, you'll still have the opportunity to ask questions and clear any doubts through our Discord channel.
@vatsanubhav0
@vatsanubhav0 3 ай бұрын
@@Javatechie Thanks for the clarification Basant. Will join soon.
@vatsanubhav0
@vatsanubhav0 3 ай бұрын
@@Javatechie One last thing, what would be the validity of the course? Do we get lifetime access to the videos?
@Javatechie
@Javatechie 3 ай бұрын
@@vatsanubhav0 yes it's lifetime access
@bala7965
@bala7965 3 ай бұрын
Hi bro please do saga pattern.saga pattern already available in your playlist is flux concept.
@Javatechie
@Javatechie 3 ай бұрын
Not getting you. Do you want me to remake it with traditional approach? I remember your kafka connect requirements I am planning for it comming weekend 😁
@bala7965
@bala7965 3 ай бұрын
@@Javatechie ​ yes bro already saga video in your playlsit is spring webflux and kakfa stream.please remake in traditional way using kafka an sprinboot .one more guy in the same comment section also expect it.Thanks bro consider my request
@bhargavb115
@bhargavb115 3 ай бұрын
Hello, i have an 6.5 year exp in java. Got an offers from HCL and Capgemini which is better? Both with same package
@Javatechie
@Javatechie 3 ай бұрын
Please drop an email to javatechie4u@gmail.com let's not this things in public forum
@universal4334
@universal4334 2 ай бұрын
I dont know whether these kinda names were introduced just to make things fancy. I never knew that this kinda pattern exist, but we've been doing same from years. How come some one update the same correlation id for all the different status. We've been doing data ingestion, preparation, rules execution etc.. for each of the service once the work os done we will save the status with correlation id and will pass the same id to to other services and they will do the same which is common sence for tracking where things are going wrong
@siddhantthorat3269
@siddhantthorat3269 3 ай бұрын
Basant I want to buy a laptop for doing all the java related coding , such that it will run smoothly with eclipse, DB, Vs code, intellIj, angular, kafka and other stuffs that you do in your videos, which laptop to purchase under budget (under 50k ) .
@rishiraj2548
@rishiraj2548 3 ай бұрын
🙏🏻🙂💯
@SumitKumar-ny1yl
@SumitKumar-ny1yl 3 ай бұрын
Hello sir I'm from village and i want to learn devops so can you provide devops course in 500😢
@Javatechie
@Javatechie 3 ай бұрын
Please connect on javatechie4u@gmail.com
@vinodaddanki3121
@vinodaddanki3121 3 ай бұрын
Please provide complete code sir
@Javatechie
@Javatechie 3 ай бұрын
Please check in video description
@suman8528
@suman8528 3 ай бұрын
having issue failed to listen,failed to deserialize,Caused by: java.lang.ClassNotFoundException: com.kafka.event_sourcing.entity.OrderEvent, any solution
@Javatechie
@Javatechie 3 ай бұрын
Please validate yml configuration
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
SOLID Design Principles in java with Example | JavaTechie
34:44
Java Techie
Рет қаралды 202 М.
Spring Boot REST API HTTP Methods- GET | POST | PUT | PATCH | DELETE
24:31
Full Stack Java Developer
Рет қаралды 381
Это лютый угар 🤣 | приколы Арсен Симонян
0:14
Арсен Симонян
Рет қаралды 294 М.
Making of Marble in Factory #shorts #ashortaday #indianstreetfood
0:59
Indian Food Vlogs
Рет қаралды 6 МЛН
КАК ЖИВЕТ КВАНТУМ? РУМ ТУР КВАНТУМА!!!
13:51
(✋❌)kageihina VS siajiwoo VS meosimmyyt VS oxzung#tiktok #shorts
0:12
🪄Вечная спичка #diy #выживание #поход
1:00
Короче, ВИ
Рет қаралды 2,8 МЛН