NOTE: This tutorial is using outdated as it's using Spring Boot 2, I am working on an update for this tutorial. Please refer to the github repo, whenever you are facing any issue with the dependency or compilation errors: github.com/SaiUpadhyayula/spring-boot-microservices
@Prograaming Techie This is one of the best courses I have gone through for microservices, even paid courses in Udemy do not have such. It's phenomenal how you have touched all the aspects of microservice architecture. Thank you so much for creating this. Keep doing the good work and keep providing us such informative and interactive learning.
First of all, thank you! 🤗 These videos are really helping me with my CS final project! Hope you keep doing this, you have the skill to explain this things easily.
At the very last you can include security using Keycloak, may be you can show Circuit Breaker, Distributed Tracing, ELK etc first, Event Driven using Kafka etc
@ProgrammingTechie why did you remove the filter property from the server static resources route at 27:00 ?? If we remove the filter then is it not going to the route: localhost:8761/eureka/** instead of localhost:8761 only --- according to the logic that you explain for the server route at 22:27 ??
Your series of Spring Boot Microservices has really been helpful.... Thank you!!!.........When do you reckon the whole series will be done? I'm in need of a full on series to aid my learning in the quickest time possible. I'd be happy to pay to expediate or get the whole series sooner than later.
I am creating the tutorials one after another, there are still 6 more tutorials planned, with 3 videos per week, you can expect the series to be done in 2 weeks from now.
How do we get the Zone of the Eureka Server, for the configuration of Eureka client ? Here we hard-code it as "localhost:8761", but it wont be the same in the cloud, right? How does the Eureka client come to know of this URL, when these services are deployed to the cloud?
All those who are facing issue in API gateway not able to find the URL, change artifact spring-cloud-starter-gateway-mvc in pom file which was generated from start sprint io site to spring-cloud-starter-gateway .
Very nice! After the security video would be nice to have a sort of deploy to the cloud. Because if i'm not wrong, we don't need eureka if we have a kubernetes or ECS, right?
Kubernetes refactoring will happen once circuit breaking, distributed tracing and configuration management parts are completed. Yes we don't need eureka, API gateway and also config server after refactoring to Kubernetes
Make sure to import eureka-client not eureka-server for the gateway. Solves the "Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway" error. Don't waste an hour like i did
If I add discovery server static route after the first time calling eureka dashboard url which gives plain html then eureka dashbaord looks perfect but even after commenting the discovery server static route now it shows the same eureka dashboard (i.e with all css , js etc). can someone tell me why
I have a question, when you centrelize keycloak in apigateway, and i want to use preAuthorize on several apis of my different microservices what should we do ? implement a filter chain to receive the token forwarded in the request of the api gateway ?
So, you use the Token relay option to forward the requests from API Gateway to the downstream microservices and implement the authorization logic either in the Security Configuration class or using the preAuthorize method on your APIs in the microservies
Thanks for the good content, I have one question when I'm trying to register the services to service discovery the hostname is getting registered with my device name and I'm unable to test the application through postman.. could anyone please help me with this issue.
Thank you so much, can you make a video tutorial about kong api gateway, im already read many docs but im still can't get it and also found on youtube but there is very little video make that. And although I found it, i'm still can't understand... Thanks!
How do I determine that on index 0, spring.cloud.gateway.routes[0].id=product-service, there is product service module not order service module because I have followed all your steps but different naming and ports.
Hi, I am able to access all the apis and eureka through api gateway and postman, but not able to access the apis through browser, what could be the reason for this ? any solution for this please 🙏🙏
Thanks for such an informative session, though I am having issue while trying to fetch discoveryserver via api gateway : for me its giving 404 error, even if the mapping shown in the log is correct
Hi guys, I found the solution for my app (May be you guys already got this for your apps). Latest Gatway's artifactId is "spring-cloud-starter-gateway-mvc", when I replace it with "spring-cloud-starter-gateway" and reload the maven and app, it started working. I also added property "eureka.instance.prefer-ip-address=true" to discovery-server along with this.
Gostaria de compartilhar algo que me ajudou. Languagem -> Portuguese Primeiro eu estava tendo erro de NOT_FOUND quando eu usado o localhost:8080. Fui nas depedências e mudei o *spring-cloud-starter-gateway-mvc* para o *spring-cloud-starter-gateway* Depois disso eu fui até o prorperties e coloquei ** no final do Path: spring.cloud.gateway.routes[0].predicates[0]=Path=/api/product/** Isso faz com que o gateway use a principal rota e a sub-rota desse endereço.
NOTE: This tutorial is using outdated as it's using Spring Boot 2, I am working on an update for this tutorial. Please refer to the github repo, whenever you are facing any issue with the dependency or compilation errors: github.com/SaiUpadhyayula/spring-boot-microservices
Thanks man, highly appreciated.
Dude this is just awesome, that you are touching all these concepts for free. There is a developer position open for you in heaven
I enjoy watching this channel more than Netflix, prime etc😇😇 Such a informative content, keep up the good work,sir.
You have my utmost respect . Your content is simply comprehensive and covers a wide range of things .Keep up the good work.
@Prograaming Techie This is one of the best courses I have gone through for microservices, even paid courses in Udemy do not have such. It's phenomenal how you have touched all the aspects of microservice architecture. Thank you so much for creating this. Keep doing the good work and keep providing us such informative and interactive learning.
Thanks Programming Techie. Microservices has never been easy for e until i followed your tutorials.
First of all, thank you! 🤗 These videos are really helping me with my CS final project! Hope you keep doing this, you have the skill to explain this things easily.
You deserve millions of subscribers very clear and quality content
Hi bro, That's really awesome. Today I got your playlists. Proceed to learning through the rest of videos. Thanks for presenting nicely. Loved it.
you are better than my teachers in university xD
informative content
You are my Guru!!!!
Amazing tutorial, my brother. Thank you very much.
At the very last you can include security using Keycloak, may be you can show Circuit Breaker, Distributed Tracing, ELK etc first, Event Driven using Kafka etc
@ProgrammingTechie why did you remove the filter property from the server static resources route at 27:00 ?? If we remove the filter then is it not going to the route: localhost:8761/eureka/** instead of localhost:8761 only --- according to the logic that you explain for the server route at 22:27 ??
Your series of Spring Boot Microservices has really been helpful.... Thank you!!!.........When do you reckon the whole series will be done?
I'm in need of a full on series to aid my learning in the quickest time possible. I'd be happy to pay to expediate or get the whole series sooner than later.
I am creating the tutorials one after another, there are still 6 more tutorials planned, with 3 videos per week, you can expect the series to be done in 2 weeks from now.
@@ProgrammingTechie Thanks. I'll be sure to drop a tip in the buy me a coffee section!
You are the best !
Thanks a lot for this incredible tutorial, you are the best!!! .
❤❤❤❤ Greate. thank you so much
Thanks again man! Continuing to follow up the series. Issues with mongodb though,
Yes I will fix this in the later parts of the video
Hi bro, this video is very helpful, thank you. 🤩👍
I love this course.
thank you for sharing, it helps me alot
Thank you as always ✨🙏
Could you make a video about role-based login and registration with keycloak? Thanks.
How do we get the Zone of the Eureka Server, for the configuration of Eureka client ?
Here we hard-code it as "localhost:8761", but it wont be the same in the cloud, right?
How does the Eureka client come to know of this URL, when these services are deployed to the cloud?
The best
Such a great content about this kind of architecture using Spring Boot. Congratulations, dude
All those who are facing issue in API gateway not able to find the URL, change artifact spring-cloud-starter-gateway-mvc in pom file which was generated from start sprint io site to spring-cloud-starter-gateway .
Great content sir. Thank you 🙂 Requesting you to kindly incorporate the security aspects too if possible
Yes that would be the next video
Very nice! After the security video would be nice to have a sort of deploy to the cloud. Because if i'm not wrong, we don't need eureka if we have a kubernetes or ECS, right?
Kubernetes refactoring will happen once circuit breaking, distributed tracing and configuration management parts are completed.
Yes we don't need eureka, API gateway and also config server after refactoring to Kubernetes
api gateway unable to register after adding discovery server routes in application properties .
Great course. On a side note, i am getting Unable to find RoutePredicateFactory with name Path when I run api-gateway application
Make sure to import eureka-client not eureka-server for the gateway. Solves the "Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway" error. Don't waste an hour like i did
Why Eureka ? When zookeeper can be used for both rabbitmq and Kafka.. what is the use Eureka
Hi. Thank you for these awesome videos. Could you please write your Intellij theme name. It seems pretty attractive.
Gradianto
Can you make a tutorial to deploy spring boot microservices to aws? Thanks
There are various ways you can deploy your microservices on AWS can you be more specific.
If I add discovery server static route after the first time calling eureka dashboard url which gives plain html then eureka dashbaord looks perfect but even after commenting the discovery server static route now it shows the same eureka dashboard (i.e with all css , js etc). can someone tell me why
Thank you for the tutoriel , but when i use loadbalencer on the uri , it doesn't work ?
is there a way that api gateway sets routing of all the microservices without having us to set up the routing of each microservice individually?
I have a question, when you centrelize keycloak in apigateway, and i want to use preAuthorize on several apis of my different microservices what should we do ? implement a filter chain to receive the token forwarded in the request of the api gateway ?
So, you use the Token relay option to forward the requests from API Gateway to the downstream microservices and implement the authorization logic either in the Security Configuration class or using the preAuthorize method on your APIs in the microservies
Thanks for the good content, I have one question when I'm trying to register the services to service discovery the hostname is getting registered with my device name and I'm unable to test the application through postman.. could anyone please help me with this issue.
I didn't understand; Why load balancer can't make redirect to Eureka Server and we must replace it with http ? (lb -> http)
Thank you so much, can you make a video tutorial about kong api gateway, im already read many docs but im still can't get it and also found on youtube but there is very little video make that. And although I found it, i'm still can't understand... Thanks!
The gateway is not working with me, it is running fine and it's registered in the eureka server but it doesn't route correctly!
can anyone help?
How do I determine that on index 0, spring.cloud.gateway.routes[0].id=product-service, there is product service module not order service module because I have followed all your steps but different naming and ports.
Thanks a lot for this great learning experience, I'm having issue while testing the security, by using postman, how can i get the help?
brilliant tutorial sir, can u also guide us on how to config API gateway dynamically
Hi, I am able to access all the apis and eureka through api gateway and postman, but not able to access the apis through browser, what could be the reason for this ? any solution for this please 🙏🙏
Why Eureka is used when rabbitmq can be used with zookeeper.. what is the use Eureka?
Is true that with the new version of Spring Boot we have to use EnableDiscoveryClient instead of EnableEurekaClient?
Yes, the GitHub code is updated as per latest Spring Boot version
We have a discovery server to call all api / endpoints then why we need of api gate way
for the static resources why don't we need to use filters ??
No servers available for service: product-service
i am getting this issue. please help
Nice explanation,but videos are blur, please correct it
Hi, Do you recommend watching the other series of videos (7 videos) after finishing this one? Or are the contents the same?
This is more recent one, you can skip the other video series
Can we loadbalance the discovery servers?
Hey bro how to make microservice disable for direct access....means i want my microservice accessible through only api gateway
CORS
genius
Thanks for such an informative session, though I am having issue while trying to fetch discoveryserver via api gateway : for me its giving 404 error, even if the mapping shown in the log is correct
same error did you sollve it ??
@@mohamedamineboughrara8609 Hi, were you able to resolve this error ??
Any luck anyone?? getting the same error
Hi guys, I found the solution for my app (May be you guys already got this for your apps). Latest Gatway's artifactId is "spring-cloud-starter-gateway-mvc", when I replace it with "spring-cloud-starter-gateway" and reload the maven and app, it started working. I also added property "eureka.instance.prefer-ip-address=true" to discovery-server along with this.
Gostaria de compartilhar algo que me ajudou. Languagem -> Portuguese
Primeiro eu estava tendo erro de NOT_FOUND quando eu usado o localhost:8080.
Fui nas depedências e mudei o *spring-cloud-starter-gateway-mvc* para o *spring-cloud-starter-gateway*
Depois disso eu fui até o prorperties e coloquei ** no final do Path: spring.cloud.gateway.routes[0].predicates[0]=Path=/api/product/**
Isso faz com que o gateway use a principal rota e a sub-rota desse endereço.