As always, very grateful for your videos. Eagerly waiting for the concepts said in the outro: - Microservice Patterns - ELK Stack - Event Driven etc... Really appreciate your efforts
have only completed half of the video course and Couldn’t wait any longer to appreciate the efforts you put in to give us a very valuable knowledge. The contents of the video course are as per market standards and exactly what any developer will look for. Really thank you so much @Ali. Keep uploading such contents
@Bouali Ali is a lecturer who is a cut above the rest. Nice and slowly in teachings. He explains all his steps so well. This makes you understand the architectural thinking and you build from first principles! Well done!!!!
This is the first Microservices Spring Boot course I have watched from start to finish, taking notes and practicing along the way. Thank you for taking the time to prepare this and for making it free.
Please take this as a friendly and constructive feedback from a university student who is in the beginning of a journey to become a backend developer. Although the video (or course, if you wanna call it like that) is really comprehensive, there are some bad practices as I noticed. For instance, you do not care about the losely-coupled philosophy, you inject a lot of dependencies in a single service, for example in order service, there are literally 7 injections, and this might be a drawback in point of scalability. But anyhow, I sincerely thank you for sharing this valuable and rich resource with us!
Thanks for the wonderful course! While watching the video, I had a few questions. What happens when a payment fails? How does the order get reverted? I'm curious about transaction management across services. After some exploration, I discovered that the "eventual consistency" principle might be suitable for micro service architecture. While I've heard 2PC is an option, it has several edge case issues so Orchestration or Choreography could provide a solution. I would appreciate a deeper understanding of these patterns, including their advantages and disadvantages. Additionally, more theoretical insights covering the most other use cases and related scenarios would be beneficial. This is just a request, and I look forward to it whenever you have time. Thanks again!
One of the best teachers that I've seen on all platform courses. Everything is super clear, you know how to catch the attention of your student, you keep everything super simple and trough all the tutorial I'm just waiting to see what comes next. Your tutorials are full of a lot of interesting things, they are concise but a big number of technologies are touched, that incredible! All my respect and admiration for your effort
Thank you a lot. Excellent idea, video, and explanation. 100% quality material in this video. My Respects. I would like to point out that the Keycloak section is not committed in the repo and also misses the migration of the config to the configService. However, I was still able to complete it
Amazing tutorial, thank you! I faced some issues with tracing with Zipkin. So, I think all the API calls for the same flow should be part of the same trace entry instead of multiple entries. In order to solve it, I removed Feign Client (I was facing issues with load blancer paths), and replaced it with RestTemplate. Once done, all the API calls for the same flow, say order, was part of the same trace, here 9 spans. Also, please note, don't create your own implementation of RestTemplate as it won't be able to trace the API calls. So, create a bean of RestTemplate by passing RestTemplateBuilder to its parameter of the bean creation. That should fix the issue.
2 questions: 1 - API gateway is the entry point for all microservices, so it's dealing with authentication. Should the other microservices also be secured and validate the token against the auth server? 2 - How to deal with userId's? Should we use keycloaks userId we get from the token and use like a foreign key in other service databases, like usually (eg: user courses/books/whatever)?
Thank you for the great course. After adding keycloak to the application, the feign clients dont have the authentication access to the other services as tokens are only with the service to which token is passed along with the api. This breaks the order service and the keycloak application has to implemented manually
I always appreciate your videos . thank you! Could you consider covering how to implement JWT in a microservices architecture in one of your upcoming videos?
just finished following this tutorial and it's been great, I learned so much! If I may suggest an interesting topic for possible future videos, which I think is alittle under-explored in UA-cam tutorials - distributed transactions. You mentioned SAGA pattern at the end of the video, but it would also be cool to look at other solutions like 2 phase commit and transaction outbox
Thank you very much, an excellent course with many concepts to assimilate. Thank you for your dedication and time in sharing your knowledge. I tell you that I was able to replicate the entire course and it is working 100% without errors, thank you for all your effort, I really value it a lot.
Thank you Bouali for the amazing tutorial into spring cloud with many industry best practices implementations! Would like to know if you would also be expanding upon this project by demonstrating deployment on this app? Would love to see dockerizing and orchestration of this app, as well as load balancing configuration using api gateway. Would also like to see if you could explain circuit breaking and e2e testing using this application. Thanks in advance!
Thank you for your excellent teaching style! Your videos are incredibly helpful. Could you please create a new course on Spring Security? It would be greatly appreciated!
Wow, This is awesome content, sir Ali. Thank you very much for sharing your knowledge and understanding with us. I always enjoy your content very much and keepcoding with you
I watched full video , and it was awesome !!! my suggestion to you that you should create full course on microservices from development to deployment. also just like this video , it should be as per current market requirement, real time scenario's with latest technology stack. you can do you it on youtube or paid platforms as per your convenience.
thank you so much the nice feedback. I provide free content, no need to buy courses. feel free to contribute and help on youtube if you want to, otherwise, all my content is for free and available in my YT channel. Enjoy it
Sir, I have developed my application following your architecture and coding. Now i am.working on docker image development and finally will deploy through kubernates. Please create a video on Docker image development for the above project. Cheers🎉 for your hardwork..
Hi, I have a question - How would you handle the situation when one service (for example: payment-service) cannot process our request and it is necessary to rollback transaction in other services? Is it necessary to use SAGA pattern for compensation request or maybe you know better way ?
Thank you for this video. It will help all the people who wanted to learn these things end to end. Can you please tell us what all applications we need to install like docker
You are amazing ❤ Thank you so much for your great contribution 🎉 I would like to request to create a complete E-commerce application from dev to deployment using all required tech and also please use jwt this time 🙏
Great video, helped me a lot with building my first microservices! I am so grateful to you! Do you know how to ignore logging of health checks in tracing? Because there are a bunch of noise when I query logs. Thank you in advance
Hi Bouali Ali, I really enjoy your videos and find them super helpful! I have a specific request for a tutorial. Could you make a video on how to integrate Keycloak with Spring Boot microservice for authentication (both manual email/password login and social login), but using a custom database for managing users and roles? Specifically, I’d love to see how to: Use Keycloak for authentication (including social login like Google or GitHub). Store and manage user details, roles, and permissions in my own database instead of using Keycloak’s internal database. How to handle JWT token generation and role-based access using this setup. It would be great if you could show how to configure this kind of setup and how to secure the application with Spring Security and Keycloak! Thanks in advance, and keep up the great content!
Thank you, amazing tutorial as always! Please add a feature to pass the oauth2 token from Keycloak to FeignClient, i couldn't make the order request work. I read some articles and they use something called a RequestInterceptor but i didn't understand it and couldn't make it work.
Hello sir, It took 14-15 hours for me to finish it😅 feeling great. Thanks alot. Sir, customer-service working great but order-service is giving error, even with keycloak auth token. As FeignClient is not able to consume data without authentication. Getting 401 error. TokenRelay concept required?! 😮 And pls elaborate in detail about keycloak client type ticks, i mean standard flow, direct access, implicit flow, service account role, oidc ciba grant, etc. what are they, why, when & how to use. At least give some theories please, it'll be great help.
While following this tutorial I've run into 2 issues with configurations: 1) MongoDB didn't configure cunnection uri properly (all other fields were set correctly, but uri defaulted to mongodb/localhost/test) - band-aid fix: manually created Bean of MongoProperties in my Configuration class EDIT: of course I read all the fields from the config file on the config server when creating the MongoProperties object 2) Hibernate ddl-auto settings did not work - fixed by writing flyway migration on every microservice that uses postgres. It is strange that I ran into these 2 issues considering that config files were read properly (otherwise I wouldn't be able to connect to DBs at all) 3) Also when setting up pg admin and connecting to postgres - make sure to specify service name from docker-compose instead of "localhost"
Funny how I also ran into the same issue but solved it anyways. The one I'm currently facing is the issue with bean creation for javaMailSender. Help is really needed and appreciated at this point. @boualiAli
This has to be one of the best Java-Spring-Auth-MircoService Tutorial in youtube!
The long awaited video is finally here, currently watching in parts. great content so far, thanks for delivering this tutorial for free!
Can you also help in how we can scale this application
Hope you enjoy it!
i feel so happy when creators create spring boot tutorials. its very rare, even very less documentation available
Hope you enjoy it!
And the official documentation is not extremely good. BTW, try Thomas Vitale's book, I find it very good.
As always, very grateful for your videos.
Eagerly waiting for the concepts said in the outro:
- Microservice Patterns
- ELK Stack
- Event Driven
etc...
Really appreciate your efforts
بارك الله فيك محتوى غني بالمعرفة جزاك الله الخير
تحية لك من سوريا 🤍
have only completed half of the video course and
Couldn’t wait any longer to appreciate the efforts you put in to give us a very valuable knowledge. The contents of the video course are as per market standards and exactly what any developer will look for. Really thank you so much @Ali. Keep uploading such contents
Glad you enjoyed it
@Bouali Ali is a lecturer who is a cut above the rest. Nice and slowly in teachings. He explains all his steps so well. This makes you understand the architectural thinking and you build from first principles! Well done!!!!
This is the first Microservices Spring Boot course I have watched from start to finish, taking notes and practicing along the way. Thank you for taking the time to prepare this and for making it free.
Great job!
Please take this as a friendly and constructive feedback from a university student who is in the beginning of a journey to become a backend developer. Although the video (or course, if you wanna call it like that) is really comprehensive, there are some bad practices as I noticed. For instance, you do not care about the losely-coupled philosophy, you inject a lot of dependencies in a single service, for example in order service, there are literally 7 injections, and this might be a drawback in point of scalability. But anyhow, I sincerely thank you for sharing this valuable and rich resource with us!
Thanks for the wonderful course! While watching the video, I had a few questions. What happens when a payment fails? How does the order get reverted? I'm curious about transaction management across services. After some exploration, I discovered that the "eventual consistency" principle might be suitable for micro service architecture. While I've heard 2PC is an option, it has several edge case issues so Orchestration or Choreography could provide a solution.
I would appreciate a deeper understanding of these patterns, including their advantages and disadvantages. Additionally, more theoretical insights covering the most other use cases and related scenarios would be beneficial. This is just a request, and I look forward to it whenever you have time. Thanks again!
What i like most about this video/course is there is no fluff. Just pure sweetness
wow, thank you
Really, I feel so happy when creators create spring boot tutorials. it's scarce, even very little documentation available..❣❣
finally found what i need appreciated the work and explanations.
He won't rest until everyone is working at the market.
He is amazing❤❤
this is my goal
Good, sound good👍🏻👍🏻👍🏻
@BoualiAli ... lost opportunity to say "You are goddamn right"
The best professor on Spring Boot and Microservices. How can I give him 1M likes. Great content Sir
ربنا يبارك فيك يا حبيب هي دي زكاة العلم فعلا ❤❤
allah ybarek fik akhi.
Where are you following from?
@@BoualiAli من مصر يا صديقي
@@saeedeldeeb7611 تشرفت
One of the best teachers that I've seen on all platform courses.
Everything is super clear, you know how to catch the attention of your student, you keep everything super simple and trough all the tutorial I'm just waiting to see what comes next.
Your tutorials are full of a lot of interesting things, they are concise but a big number of technologies are touched, that incredible!
All my respect and admiration for your effort
Really glad to hear that
Thank you a lot. Excellent idea, video, and explanation. 100% quality material in this video. My Respects.
I would like to point out that the Keycloak section is not committed in the repo and also misses the migration of the config to the configService. However, I was still able to complete it
Amazing tutorial, thank you!
I faced some issues with tracing with Zipkin. So, I think all the API calls for the same flow should be part of the same trace entry instead of multiple entries. In order to solve it, I removed Feign Client (I was facing issues with load blancer paths), and replaced it with RestTemplate. Once done, all the API calls for the same flow, say order, was part of the same trace, here 9 spans.
Also, please note, don't create your own implementation of RestTemplate as it won't be able to trace the API calls. So, create a bean of RestTemplate by passing RestTemplateBuilder to its parameter of the bean creation. That should fix the issue.
By far the best Spring course! Congrats!!!!! I have seen the full video. : )
This is wow honestly, I work through this over two or more weeks but it pays, Filled with knowledge
Thank you Bouali, you are a real one. I learned many resources and methods and so much more from your amazing videos. Much appreciations brother
I appreciate that!
THANK YOU SO MUCH THIS IS THE FIRST TIME I HAVE COMPLETED A VIDEO THAAAAAANKS FOR THE EFFORT
Absolutely great tutorial. Thank you so much for this contribution. It really helps me dive into this topic.
such a good content for spring boot, it is must whoever is learning spring boot. thanks a ton
The best thing in your tutorial is you go through from high level to low level, and explain each component in the diagram, Thank you so much
2 questions:
1 - API gateway is the entry point for all microservices, so it's dealing with authentication. Should the other microservices also be secured and validate the token against the auth server?
2 - How to deal with userId's? Should we use keycloaks userId we get from the token and use like a foreign key in other service databases, like usually (eg: user courses/books/whatever)?
nadi khay ali ta7iyati mn lmghrib 🇲🇦
One of the best java video I have seen.
The amount of hard work u put in is commendable
Excelent Video, my respect, not only code, with a lot of diagrams, I only add a first-api design to the feign microservices
this is just the tutorial i was looking for!!! thank you for the great video!
He did it 😂😂. You're just a boss @Ali. Thank you very much for all 🙏
my pleasure
Hello Ali, this is a very nice resource, thank you for your efforts.
Thank you for the great course.
After adding keycloak to the application, the feign clients dont have the authentication access to the other services as tokens are only with the service to which token is passed along with the api. This breaks the order service and the keycloak application has to implemented manually
Mr @Ali.. I really admire you man... For smart tech teaches... Better than academic... ❤
I always appreciate your videos . thank you! Could you consider covering how to implement JWT in a microservices architecture in one of your upcoming videos?
just finished following this tutorial and it's been great, I learned so much! If I may suggest an interesting topic for possible future videos, which I think is alittle under-explored in UA-cam tutorials - distributed transactions. You mentioned SAGA pattern at the end of the video, but it would also be cool to look at other solutions like 2 phase commit and transaction outbox
Great suggestion
I have watched 4 of your tutorials now yaah this is another level, thanks very I am learning a lot
Happy to hear that!
Thank you very much, an excellent course with many concepts to assimilate. Thank you for your dedication and time in sharing your knowledge. I tell you that I was able to replicate the entire course and it is working 100% without errors, thank you for all your effort, I really value it a lot.
I have been waiting for long. Thank you sir
Enjoy
This is pure gold! Thank you for making such a wonderful content!
Thank you Bouali for the amazing tutorial into spring cloud with many industry best practices implementations! Would like to know if you would also be expanding upon this project by demonstrating deployment on this app? Would love to see dockerizing and orchestration of this app, as well as load balancing configuration using api gateway. Would also like to see if you could explain circuit breaking and e2e testing using this application. Thanks in advance!
+1 Also need a basic react front end for the same
Thoes videos is really helps me a lot in my project in school, thank you ali, all your works is greate
Hope you enjoy it!
Thank You I have watched the first 2 hours of the course and You have explained concepts in a simplified manner. ❤
Glad it was helpful!
Wowwww Thank you so much!!!!! I have to finish my final Project degree and I made it with microservices....Thank you!!!🎉
Hope you enjoy it!
The best springboot channel
I appreciate it
Thank you for your excellent teaching style! Your videos are incredibly helpful. Could you please create a new course on Spring Security? It would be greatly appreciated!
Love it, please create some more playlists for microservices using Kafka inter api communication!
Thank you, I will
Great tutorial.Thank you Bouali Ali! Good work.
You are welcome
Wow, This is awesome content, sir Ali. Thank you very much for sharing your knowledge and understanding with us. I always enjoy your content very much and keepcoding with you
Thank you... I'm a Dotnet developer but i found you the best one explain microservices
Wow, thanks!
Content is awesome and appreciate this channel because most of the new concept updated thus channel
I watched full video , and it was awesome !!! my suggestion to you that you should create full course on microservices from development to deployment. also just like this video , it should be as per current market requirement, real time scenario's with latest technology stack. you can do you it on youtube or paid platforms as per your convenience.
thank you so much the nice feedback.
I provide free content, no need to buy courses.
feel free to contribute and help on youtube if you want to, otherwise, all my content is for free and available in my YT channel.
Enjoy it
@@BoualiAli Thank you so much for this great level course can you cover front-end that consumes this too..
Hello Ali, Thanks for this amazing work .
Could you please make a video about kubernetes !
we need the upgrade to ELK stack and also the user friendly interface using react or angular! great resource to learn from!
Thanks for the great video! Could you also make video how to manage MSA in docker & k8s? thank you so much!
This what i need, real life scenarios! Thank you!
Very very informative session. Thanks for providing all these content. Can you also work on how to dockarize microservice project.
Yes, soon
You deserve more views and followers 🤴🏽
Sir, I have developed my application following your architecture and coding. Now i am.working on docker image development and finally will deploy through kubernates. Please create a video on Docker image development for the above project. Cheers🎉 for your hardwork..
Already done
chokrane barcha barcha mn lmaghrib
thank you for your efforts in creating this tutorial. It will be amazing and incredibly helpful
You're very welcome!
I will be binge watching this the entire weekend
Hi, I have a question - How would you handle the situation when one service (for example: payment-service) cannot process our request and it is necessary to rollback transaction in other services? Is it necessary to use SAGA pattern for compensation request or maybe you know better way ?
Thanks alot. You are saving so many people out there
Thank you for this video. It will help all the people who wanted to learn these things end to end.
Can you please tell us what all applications we need to install like docker
This is a great video. Thank you for the efforts. Have you thought about publishing video series rather than one big chunk
You are amazing ❤ Thank you so much for your great contribution 🎉 I would like to request to create a complete E-commerce application from dev to deployment using all required tech and also please use jwt this time 🙏
Already done, check the playlist (Book social network)
also a new one is coming soon
Thank you so much Mr.Ali. Are you planning to develop the front end for this project using Angular v18 ?
This is excellent, would you mind creating the frontend of it with angular please
Yes, soon
@@BoualiAli I will be waiting for this one🤞
great tutorial. keep up the good work
Awesome tutorial
Great video, helped me a lot with building my first microservices! I am so grateful to you!
Do you know how to ignore logging of health checks in tracing? Because there are a bunch of noise when I query logs. Thank you in advance
Thank you so much mr.Bouali that is a great playlist and very useful for me
You are very welcome
Very nice new lessons. Thank you for this.
My pleasure!
Hi Amazing video, tons of thanks..Please implement saga and circuit breaker pattern with promotheus,grafana or elk stack.
Hi Bouali Ali,
I really enjoy your videos and find them super helpful! I have a specific request for a tutorial.
Could you make a video on how to integrate Keycloak with Spring Boot microservice for authentication (both manual email/password login and social login), but using a custom database for managing users and roles? Specifically, I’d love to see how to:
Use Keycloak for authentication (including social login like Google or GitHub).
Store and manage user details, roles, and permissions in my own database instead of using Keycloak’s internal database.
How to handle JWT token generation and role-based access using this setup.
It would be great if you could show how to configure this kind of setup and how to secure the application with Spring Security and Keycloak!
Thanks in advance, and keep up the great content!
One question, the front part is not on UA-cam yet? The teacher is the goat
Thank you so much for this masterpiece
You're very welcome
One hour in and I loved it
Amazing course! Thank you!
You're very welcome!
7:40 -> 30:27 -> 1:10:25 -> 2:43:09
Thank you for this amazing this course
thank you very much for the video I will still learn a lot of things.
please what application you use for System Design
God bless you
That's an impressive content of microservices! Great job, Bouali
Glad you think so!
This is a really amazing lesson, thank you, Ali! I'm just wondering why did you use double a double type to denote a quantity instead of an integer?
you can buy a 1,5 meters of a wall paper, so it should be a double
this is a great class, brother.
Well done.
Thanks for all
Awesome! Will this project be extended by frontend and maybe kubernetes? Some course with grpc would also be nice 😁
This is really good. Thank you.💯
Thank you, amazing tutorial as always! Please add a feature to pass the oauth2 token from Keycloak to FeignClient, i couldn't make the order request work. I read some articles and they use something called a RequestInterceptor but i didn't understand it and couldn't make it work.
Great video thank you very much can you do some gRPC communication between services aswell ?
this is gold thank you so much Ali,
As always, beautiful presentation ❤
Glad you liked it
Hello sir, It took 14-15 hours for me to finish it😅 feeling great. Thanks alot. Sir, customer-service working great but order-service is giving error, even with keycloak auth token. As FeignClient is not able to consume data without authentication. Getting 401 error. TokenRelay concept required?! 😮 And pls elaborate in detail about keycloak client type ticks, i mean standard flow, direct access, implicit flow, service account role, oidc ciba grant, etc. what are they, why, when & how to use. At least give some theories please, it'll be great help.
I got sam problem in order-service did resolve the problem? if yes please tell me how ? they tell me datasource url problem
Amazing Video, Thank you.
What a beautiful tutorial!
While following this tutorial I've run into 2 issues with configurations:
1) MongoDB didn't configure cunnection uri properly (all other fields were set correctly, but uri defaulted to mongodb/localhost/test) - band-aid fix: manually created Bean of MongoProperties in my Configuration class
EDIT: of course I read all the fields from the config file on the config server when creating the MongoProperties object
2) Hibernate ddl-auto settings did not work - fixed by writing flyway migration on every microservice that uses postgres.
It is strange that I ran into these 2 issues considering that config files were read properly (otherwise I wouldn't be able to connect to DBs at all)
3) Also when setting up pg admin and connecting to postgres - make sure to specify service name from docker-compose instead of "localhost"
Funny how I also ran into the same issue but solved it anyways. The one I'm currently facing is the issue with bean creation for javaMailSender. Help is really needed and appreciated at this point. @boualiAli
Thats amazing big amount of material for free, so grateful to you