Spring Boot Microservices Project Example - Part 4 | API Gateway

Sdílet
Vložit
  • čas přidán 6. 05. 2022
  • Spring Boot Microservices Project Example - Part 4 | API Gateway
    Source Code
    github.com/SaiUpadhyayula/spr...
    ⭐️⭐️ You can follow me on Social Media through the below Links⭐️⭐️
    Twitter: / sai90_u
    Blog: programmingtechie.com/
    Dev.to: dev.to/saiupadhyayula
    Facebook Page: / programmingtechie

Komentáře • 72

  • @ProgrammingTechie
    @ProgrammingTechie  Před 5 měsíci +5

    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

  • @mohammadikram687
    @mohammadikram687 Před 2 lety +9

    I enjoy watching this channel more than Netflix, prime etc😇😇 Such a informative content, keep up the good work,sir.

  • @removed107
    @removed107 Před 2 dny

    Amazing tutorial, my brother. Thank you very much.

  • @samarjeetthakur65
    @samarjeetthakur65 Před rokem +6

    @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.

  • @ankanmukherjee873
    @ankanmukherjee873 Před rokem +6

    You have my utmost respect . Your content is simply comprehensive and covers a wide range of things .Keep up the good work.

  • @marinalopez2265
    @marinalopez2265 Před rokem +2

    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.

  • @defrankline
    @defrankline Před 2 lety +1

    Thanks Programming Techie. Microservices has never been easy for e until i followed your tutorials.

  • @senthilmurugangsm
    @senthilmurugangsm Před rokem +1

    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.

  • @nullpointer500
    @nullpointer500 Před rokem +1

    You deserve millions of subscribers very clear and quality content

  • @TechOnScreen
    @TechOnScreen Před 2 lety +2

    You are the best !

  • @kalyanboro6338
    @kalyanboro6338 Před rokem +2

    You are my Guru!!!!

  • @az910
    @az910 Před 2 lety +1

    Thank you as always ✨🙏

  • @phanimc11211
    @phanimc11211 Před rokem +1

    informative content

  • @Cbastiian
    @Cbastiian Před 4 měsíci

    Thanks a lot for this incredible tutorial, you are the best!!! .

  • @tomekwierzbicki5757
    @tomekwierzbicki5757 Před 10 měsíci

    I love this course.

  • @maleeshasandakalum6213
    @maleeshasandakalum6213 Před rokem +1

    ❤❤❤❤ Greate. thank you so much

  • @hahachannel7323
    @hahachannel7323 Před rokem

    thank you for sharing, it helps me alot

  • @dwisatriapatra4228
    @dwisatriapatra4228 Před rokem +1

    Hi bro, this video is very helpful, thank you. 🤩👍

  • @prateekashtikar8631
    @prateekashtikar8631 Před 2 lety +1

    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

  • @hoangngo9431
    @hoangngo9431 Před 10 měsíci +1

    you are better than my teachers in university xD

  • @allchannel5985
    @allchannel5985 Před 2 lety +1

    The best

  • @gideonukoko
    @gideonukoko Před 2 lety +4

    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.

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 lety +3

      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.

    • @gideonukoko
      @gideonukoko Před 2 lety

      @@ProgrammingTechie Thanks. I'll be sure to drop a tip in the buy me a coffee section!

  • @maneshipocrates2264
    @maneshipocrates2264 Před 2 lety +2

    Thanks again man! Continuing to follow up the series. Issues with mongodb though,

  • @shwetabhat9981
    @shwetabhat9981 Před 2 lety +2

    Great content sir. Thank you 🙂 Requesting you to kindly incorporate the security aspects too if possible

  • @NguyenVinh-mq1hl
    @NguyenVinh-mq1hl Před rokem

    brilliant tutorial sir, can u also guide us on how to config API gateway dynamically

  • @toto_frs620
    @toto_frs620 Před 2 lety +2

    Could you make a video about role-based login and registration with keycloak? Thanks.

  • @azbaig3175
    @azbaig3175 Před 2 lety

    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?

  • @johndickens7380
    @johndickens7380 Před rokem +1

    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

    • @poornima.dpreethi4546
      @poornima.dpreethi4546 Před 3 měsíci

      Why Eureka ? When zookeeper can be used for both rabbitmq and Kafka.. what is the use Eureka

  • @KhushalShah-uo3qu
    @KhushalShah-uo3qu Před rokem +1

    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?

  • @eddiebongo4870
    @eddiebongo4870 Před rokem

    genius

  • @srikantsahoo7084
    @srikantsahoo7084 Před 6 měsíci

    @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 ??

  • @hamdimahjoub294
    @hamdimahjoub294 Před rokem

    Thank you for the tutoriel , but when i use loadbalencer on the uri , it doesn't work ?

  • @aayushisingh3280
    @aayushisingh3280 Před 11 měsíci

    Great course. On a side note, i am getting Unable to find RoutePredicateFactory with name Path when I run api-gateway application

  • @akshatasalunkhe6788
    @akshatasalunkhe6788 Před 4 měsíci +1

    api gateway unable to register after adding discovery server routes in application properties .

  • @user-ky1pp3cn5y
    @user-ky1pp3cn5y Před 4 měsíci

    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

  • @nguyenthilinhchik15hl5

    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!

  • @Emerson-mv4hm
    @Emerson-mv4hm Před 2 lety +1

    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?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 lety

      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

  • @kashifkhan-yr8wi
    @kashifkhan-yr8wi Před 11 měsíci

    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?

  • @viveksingh4801
    @viveksingh4801 Před 2 lety

    for the static resources why don't we need to use filters ??

  • @ShajeerMarakkar
    @ShajeerMarakkar Před rokem

    Can we loadbalance the discovery servers?

  • @aamirshayanshaikh2728

    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.

  • @ChandlerBing11
    @ChandlerBing11 Před 2 lety +3

    Such a great content about this kind of architecture using Spring Boot. Congratulations, dude

  • @saikanaparthy4710
    @saikanaparthy4710 Před 7 měsíci

    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.

  • @maheshd3506
    @maheshd3506 Před rokem +1

    Nice explanation,but videos are blur, please correct it

  • @omkarprakashbhosale8338

    Hey bro how to make microservice disable for direct access....means i want my microservice accessible through only api gateway

  • @poornima.dpreethi4546
    @poornima.dpreethi4546 Před 3 měsíci

    Why Eureka is used when rabbitmq can be used with zookeeper.. what is the use Eureka?

  • @nguyenmai19978
    @nguyenmai19978 Před 2 lety +3

    Can you make a tutorial to deploy spring boot microservices to aws? Thanks

    • @mohammadikram687
      @mohammadikram687 Před 2 lety

      There are various ways you can deploy your microservices on AWS can you be more specific.

  • @sivaReddy-zn6gp
    @sivaReddy-zn6gp Před rokem

    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 🙏🙏

  • @hasanturan1357
    @hasanturan1357 Před rokem +2

    Hi. Thank you for these awesome videos. Could you please write your Intellij theme name. It seems pretty attractive.

  • @AdarshKumar-xh1ie
    @AdarshKumar-xh1ie Před 2 měsíci

    No servers available for service: product-service
    i am getting this issue. please help

  • @sebastiansilvavidal452

    Hi, Do you recommend watching the other series of videos (7 videos) after finishing this one? Or are the contents the same?

    • @ProgrammingTechie
      @ProgrammingTechie  Před rokem +1

      This is more recent one, you can skip the other video series

  • @soussivic7437
    @soussivic7437 Před 3 měsíci

    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 ?

    • @ProgrammingTechie
      @ProgrammingTechie  Před 2 měsíci

      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

  • @juancaos01
    @juancaos01 Před rokem +1

    Is true that with the new version of Spring Boot we have to use EnableDiscoveryClient instead of EnableEurekaClient?

    • @ProgrammingTechie
      @ProgrammingTechie  Před rokem +2

      Yes, the GitHub code is updated as per latest Spring Boot version

  • @Shubham.Parmar
    @Shubham.Parmar Před rokem +1

    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

    • @mohamedamineboughrara8609
      @mohamedamineboughrara8609 Před rokem

      same error did you sollve it ??

    • @AkashYadav-zk8nx
      @AkashYadav-zk8nx Před 7 měsíci

      @@mohamedamineboughrara8609 Hi, were you able to resolve this error ??

    • @ashvinsanandia9571
      @ashvinsanandia9571 Před 6 měsíci +1

      Any luck anyone?? getting the same error

    • @ashvinsanandia9571
      @ashvinsanandia9571 Před 6 měsíci

      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.

  • @vivianfreitas9726
    @vivianfreitas9726 Před 3 měsíci

    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.