Spring Boot Microservices Project Example - Part 4 | API Gateway

Поделиться
HTML-код
  • Опубликовано: 6 май 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

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

  • @ProgrammingTechie
    @ProgrammingTechie  4 месяца назад +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 2 года назад +9

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

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

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

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

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

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

    You deserve millions of subscribers very clear and quality content

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

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

    You are my Guru!!!!

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

    You are the best !

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

    Thank you as always ✨🙏

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

    I love this course.

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

    you are better than my teachers in university xD

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

    informative content

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

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

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

    thank you for sharing, it helps me alot

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

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

    ❤❤❤❤ Greate. thank you so much

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

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

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

    The best

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

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

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

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

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

  • @NguyenVinh-mq1hl
    @NguyenVinh-mq1hl Год назад

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

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

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

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

    genius

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

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

  • @Emerson-mv4hm
    @Emerson-mv4hm 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

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

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

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

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

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

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

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

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

  • @kashifkhan-yr8wi
    @kashifkhan-yr8wi 11 месяцев назад

    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 2 года назад

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

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

    Nice explanation,but videos are blur, please correct it

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

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

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

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

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

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

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

  • @akshatasalunkhe6788
    @akshatasalunkhe6788 4 месяца назад +1

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

  • @sebastiansilvavidal452
    @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  Год назад +1

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

  • @saikanaparthy4710
    @saikanaparthy4710 7 месяцев назад

    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.

  • @user-ky1pp3cn5y
    @user-ky1pp3cn5y 4 месяца назад

    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

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

    Can we loadbalance the discovery servers?

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

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

      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

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

    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

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

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

  • @sivaReddy-zn6gp
    @sivaReddy-zn6gp 11 месяцев назад

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

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

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

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

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

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

      Any luck anyone?? getting the same error

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

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

    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.