Spring Boot Microservices Project Example - Part 4 | API Gateway

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 78

  • @ProgrammingTechie
    @ProgrammingTechie  10 месяцев назад +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

    • @techlead_ashu
      @techlead_ashu 10 месяцев назад

      Thanks man, highly appreciated.

  • @sagarbentur6331
    @sagarbentur6331 5 дней назад

    Dude this is just awesome, that you are touching all these concepts for free. There is a developer position open for you in heaven

  • @mohammadikram687
    @mohammadikram687 2 года назад +10

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

  • @ankanmukherjee873
    @ankanmukherjee873 2 года назад +6

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

  • @samarjeetthakur65
    @samarjeetthakur65 Год назад +7

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

  • @defrankline
    @defrankline 2 года назад +1

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

  • @marinalopez2265
    @marinalopez2265 Год назад +3

    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.

  • @nullpointer500
    @nullpointer500 2 года назад +1

    You deserve millions of subscribers very clear and quality content

  • @senthilmurugangsm
    @senthilmurugangsm 2 года назад +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.

  • @hoangngo9431
    @hoangngo9431 Год назад +1

    you are better than my teachers in university xD

  • @phanimc11211
    @phanimc11211 2 года назад +1

    informative content

  • @kalyanboro6338
    @kalyanboro6338 2 года назад +2

    You are my Guru!!!!

  • @removed107
    @removed107 5 месяцев назад

    Amazing tutorial, my brother. Thank you very much.

  • @prateekashtikar8631
    @prateekashtikar8631 2 года назад +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

  • @srikantsahoo7084
    @srikantsahoo7084 11 месяцев назад

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

  • @gideonukoko
    @gideonukoko 2 года назад +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  2 года назад +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 2 года назад

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

  • @TechOnScreen
    @TechOnScreen 2 года назад +2

    You are the best !

  • @Cbastiian
    @Cbastiian 9 месяцев назад

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

  • @maleeshasandakalum6213
    @maleeshasandakalum6213 Год назад +1

    ❤❤❤❤ Greate. thank you so much

  • @maneshipocrates2264
    @maneshipocrates2264 2 года назад +2

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

    • @ProgrammingTechie
      @ProgrammingTechie  2 года назад +1

      Yes I will fix this in the later parts of the video

  • @dwisatriapatra4228
    @dwisatriapatra4228 2 года назад +1

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

  • @tomekwierzbicki5757
    @tomekwierzbicki5757 Год назад

    I love this course.

  • @hahachannel7323
    @hahachannel7323 Год назад

    thank you for sharing, it helps me alot

  • @az910
    @az910 2 года назад +1

    Thank you as always ✨🙏

  • @toto_frs620
    @toto_frs620 2 года назад +2

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

  • @KhushalShah-uo3qu
    @KhushalShah-uo3qu 2 года назад +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?

  • @allchannel5985
    @allchannel5985 2 года назад +1

    The best

  • @ChandlerBing11
    @ChandlerBing11 2 года назад +3

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

  • @arpitsaxena5327
    @arpitsaxena5327 4 месяца назад

    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 .

  • @shwetabhat9981
    @shwetabhat9981 2 года назад +2

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

  • @emersonribeiro-eu
    @emersonribeiro-eu 2 года назад +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  2 года назад

      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

  • @Sundarjeevan
    @Sundarjeevan 9 месяцев назад +1

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

  • @aayushisingh3280
    @aayushisingh3280 Год назад

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

  • @johndickens7380
    @johndickens7380 2 года назад +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 8 месяцев назад

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

  • @hasanturan1357
    @hasanturan1357 2 года назад +2

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

  • @davidnguyenit
    @davidnguyenit 2 года назад +3

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

    • @mohammadikram687
      @mohammadikram687 2 года назад

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

  • @LokeshYadav-q1h
    @LokeshYadav-q1h 9 месяцев назад

    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

  • @hamdimahjoub294
    @hamdimahjoub294 2 года назад

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

  • @kashifkhan-yr8wi
    @kashifkhan-yr8wi Год назад

    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?

  • @soussivic7437
    @soussivic7437 8 месяцев назад

    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  8 месяцев назад

      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

  • @saikanaparthy4710
    @saikanaparthy4710 Год назад

    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.

  • @fsfsdnhjergnerkfnsdjkcj
    @fsfsdnhjergnerkfnsdjkcj 4 месяца назад

    I didn't understand; Why load balancer can't make redirect to Eureka Server and we must replace it with http ? (lb -> http)

  • @nguyenthilinhchik15hl5
    @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!

  • @anasmomani647
    @anasmomani647 4 месяца назад

    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?

  • @aamirshayanshaikh2728
    @aamirshayanshaikh2728 2 года назад

    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.

  • @azbaig3175
    @azbaig3175 2 года назад

    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?

  • @NguyenVinh-mq1hl
    @NguyenVinh-mq1hl 2 года назад

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

  • @sivaReddy-zn6gp
    @sivaReddy-zn6gp Год назад

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

  • @poornima.dpreethi4546
    @poornima.dpreethi4546 8 месяцев назад

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

  • @juancaos01
    @juancaos01 Год назад +1

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

    • @ProgrammingTechie
      @ProgrammingTechie  Год назад +2

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

  • @nikithavenganapalli6882
    @nikithavenganapalli6882 Месяц назад

    We have a discovery server to call all api / endpoints then why we need of api gate way

  • @viveksingh4801
    @viveksingh4801 2 года назад

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

  • @AdarshKumar-xh1ie
    @AdarshKumar-xh1ie 7 месяцев назад

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

  • @maheshd3506
    @maheshd3506 2 года назад +1

    Nice explanation,but videos are blur, please correct it

  • @sebastiansilvavidal452
    @sebastiansilvavidal452 2 года назад

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

    • @ProgrammingTechie
      @ProgrammingTechie  2 года назад +1

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

  • @ShajeerMarakkar
    @ShajeerMarakkar 2 года назад

    Can we loadbalance the discovery servers?

  • @omkarprakashbhosale8338
    @omkarprakashbhosale8338 Год назад

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

  • @eddiebongo4870
    @eddiebongo4870 Год назад

    genius

  • @Shubham.Parmar
    @Shubham.Parmar Год назад +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 Год назад

      same error did you sollve it ??

    • @AkashYadav-zk8nx
      @AkashYadav-zk8nx Год назад

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

    • @ashvinsanandia9571
      @ashvinsanandia9571 11 месяцев назад +1

      Any luck anyone?? getting the same error

    • @ashvinsanandia9571
      @ashvinsanandia9571 11 месяцев назад

      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 8 месяцев назад

    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.