Microservices tutorial with Spring boot 3 | Full course

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 241

  • @BoualiAli
    @BoualiAli  Рік тому +2

    Join the Micro Services course waiting list and get and get an exclusive *EARLY-BIRD discount*
    aliboucoding.ck.page/d0f9317e13

  • @hikaru_e
    @hikaru_e 12 днів тому

    Thank you kind sir for your time and efforts! The tutorial worked first try flawlessly with MySQL

  • @red2n
    @red2n Рік тому +7

    This is my first video that i have never skipped listening till the end. it really opened my eyes about how to configure my upcoming personal project. One missing bit in this Video is you could have implemented the authentication and authorization. so that it will be a full PROD ready application. any way will catch up from your upcoming videos. thanks for this wonderful vlog.

    • @BoualiAli
      @BoualiAli  Рік тому +3

      Happy you liked it.
      I will create a video for security

    • @linhtan6237
      @linhtan6237 Рік тому

      @@BoualiAli hope the soon

    • @banjokoabiodun3050
      @banjokoabiodun3050 Рік тому

      @@BoualiAli we will really appreciate a video on authorization and authentication on microservices

  • @BoualiAli
    @BoualiAli  Рік тому +2

    COUPON Code: *EARLYBIRD20* => Spring Data J PA course: aliboucoding.com/p/the-full-guide-to-master-spring-boot-data-jpa

  • @princecodes5875
    @princecodes5875 9 місяців тому +2

    It's insane how good you explained this difficult topic

    • @BoualiAli
      @BoualiAli  6 місяців тому

      Glad you think so!

  • @maxd7228
    @maxd7228 Рік тому +2

    All was great up until 31:02. I needed to get postgresql set up in docker for the student/school to start up. Great introduction to microservices. You've got a sub. Much appreciated.

    • @BoualiAli
      @BoualiAli  Рік тому

      Great to hear!

    • @poorpanda9033
      @poorpanda9033 11 місяців тому

      Can you tell me the process ? I'm stuck there as well can't figure it out tried various things.
      com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure (error)

  • @scienceslight
    @scienceslight 2 місяці тому

    Great work Ali, this tutorial is a reference path of microservices using spring boot

  • @mauricehk77
    @mauricehk77 10 місяців тому +1

    Many many thanks for your demo project!! I could run your project on my machine perfectly. Very high quality!

  • @waeljadla9688
    @waeljadla9688 Рік тому +7

    Amazing job as usual !! bravo Ali Hopefully there is a second part with Async Communication or monitoring prometheus grafana etc...

    • @BoualiAli
      @BoualiAli  Рік тому +9

      Good idea, will schedule it

    • @JanNdungu
      @JanNdungu 10 місяців тому

      @@BoualiAli Thank you kind sir, plus Keycloak in microservices, right? :)

  • @stevegathara8885
    @stevegathara8885 Рік тому

    I have followed this tutorial successfully. It's a such helpful resource. Keep making more and more.

  • @marcellvaradi3490
    @marcellvaradi3490 Рік тому

    I just went on UA-cam to start learning a Spring Boot microservice tutorial, and boom. There are no coincidences. :D

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Happy you like my content.
      Nice to have you herer

  • @faresbelaid4828
    @faresbelaid4828 Рік тому +1

    like before watching .. thi9a fel mantouj ya3tek saha bro

    • @BoualiAli
      @BoualiAli  Рік тому +1

      I really appreciate that bro

  • @AadiManchekar
    @AadiManchekar 9 місяців тому +4

    Thanks for this video!
    the gateway applica.yaml part i modified, as of today (20th Jan 2024) when i built this project,
    instead of
    spring.cloud.gateway.routes i did spring.cloud.gateway.mvc.routes
    i dont the exact reason but i think the first one requires spring web flux (reactive) and later one is based on our synchronous spring web
    Feel free to correct me if im wrong.

    • @MrCurlyDude
      @MrCurlyDude 3 місяці тому +1

      Thank you! Had to change to this for the gateway to work.

  • @poorpanda9033
    @poorpanda9033 11 місяців тому +1

    What an Amazing Course this was! Had few errors along the way but managed to fixed them. Your teaching style is incredible. Thanks a lot

  • @rudneydedy5264
    @rudneydedy5264 Рік тому +1

    Felicitation pour ce bon travail et Merci beaucoup vraiment Java 17 et Spring Boot 3❤

  • @radhikapadmini1632
    @radhikapadmini1632 Рік тому

    Amazing video Sir. This is my first video that I am able to follow till the end and code along with you. This video answered all my questions on Spring Boot and Microservices. Now I understood how the microservices communication happens through API Gateway. Thank you so much for detailed explanation. As I am novice to Docker and Zipkin, couldn't complete this part.

    • @radhikapadmini1632
      @radhikapadmini1632 Рік тому

      I am glad to inform you that I have successfully created and executed the project. This video is very helpful to understand the concepts Sir. Thank you so much.

    • @BoualiAli
      @BoualiAli  Рік тому

      Glad you liked it!

  • @bartosztoropolski8191
    @bartosztoropolski8191 Рік тому +1

    Can you show how to add authorization in the microservice? I know you have a lot of security videos, but I thought the last microservice authorization video would be very helpful and we will see the full microservice application :D

    • @BoualiAli
      @BoualiAli  Рік тому +3

      I'm working on covering a lot of topics in micro services.
      Stay tuned!

  • @mounirejh9559
    @mounirejh9559 9 місяців тому +2

    Hello guys, if someone has an ERROR when obtaining students by school ID, make sure when declaring the StudentClient variable in the SchoolService file, it has to be final.

  • @devmail4648
    @devmail4648 Рік тому +1

    Thus great lessons...You're helping many across the world....Ali, how do to host spring boot MicroServices on a Live-Server-Hosting

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Great suggestion!
      I will add this to my schedule

    • @devmail4648
      @devmail4648 Рік тому

      @@BoualiAli thank you Ali...We're very grateful

  • @vino7tech
    @vino7tech Рік тому

    Thank you very much for wonderful Spring Boot Microservices Tutorial. Please do video for all Microservices restapi security

    • @BoualiAli
      @BoualiAli  Рік тому

      Really happy you liked it
      Sure will do it soon

  • @SachinGuptaPathankot
    @SachinGuptaPathankot Рік тому

    I don't have much words to say. But Simply Many Thanks for this great tutorial.

  • @okomayinamos6532
    @okomayinamos6532 8 місяців тому

    Thank you for this wonderful video, very precise, understandable and straight to the point

    • @soussivic7437
      @soussivic7437 8 місяців тому

      hey, bro.. the stuff about config server worked for you?

  • @AbhishekKumar-hr7op
    @AbhishekKumar-hr7op Рік тому

    Thank you so much, Man!! You deserve lots of appreciation.

  • @unaisulhadi6445
    @unaisulhadi6445 2 місяці тому

    Excellent video, well explained.

    • @BoualiAli
      @BoualiAli  Місяць тому

      Glad it was helpful!

  • @ІА-11ДанилоБерковський

    The best guide, which I have ever seen, thx you a lot, really good job!

  • @DhruvKumar-u9u
    @DhruvKumar-u9u Рік тому

    Hey Bouali,
    Can you please create a detailed session on Micrometer and observability in spring boot 3 and how to connect our microservices to graphana to observer our microservices.

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Great suggestion.
      I will create a video for distributed monitoring using the ELK stack.
      Let me know if this is what you’re looking for

    • @codertravel99
      @codertravel99 Рік тому

      @@BoualiAli yes using elk we can centralize logs only but using graphana we can monitor all microservices so pls make a detailed session on new observability api in spring boot 3 lot's of developers are looking for this

  • @inesbarboura2535
    @inesbarboura2535 Рік тому

    thank you , you make the best videos on youtube

  • @jesusz.8367
    @jesusz.8367 11 місяців тому +1

    Nice tutorial. I don't really understand the process of creating/setting up postgresql with docker. Is there a separate docker container for both the student and school service?

  • @alacherif7204
    @alacherif7204 Рік тому

    Thank you Ali for this video. It is interesting.
    With this solution, every time we need to add a new microservice we need to change/deploy the gateway.
    How can we add a new microservice without changing/deploying the gateway?

    • @BoualiAli
      @BoualiAli  Рік тому

      You don't need to re-deploy the gateway every time.
      Externalise the config to config server and the gateay will reload the config from there.
      That's why I added the config server patter

  • @IamKanuKingsley
    @IamKanuKingsley Рік тому

    Hey! Great Sage, please, I found out that on the video you did not show few things. Hence applications fail for some of us without extensive knowledge.
    1. On the Entities in both School & Student Micro-services. Your video didn't show that you added "GeneratedValue" on the Id
    2. On the school service when you injected the student client "private final StudentClient client;", your video didn't show when you added the "final keyword" in order to enforce the injection.
    Thank you so much for wonderful lectures. I will be signing up for your courses because you are quite skilled in impacting knowledge.

    • @BoualiAli
      @BoualiAli  Рік тому +1

      I need to recheck the video. But I supposed that the viewer is familiar with Spring boot.
      If it is not the case, please watch the Spring boot for beginners video in my channel and you will have a better and clear understanding how the framework works and then this video will be like a piece of cake for you.
      Happy to have you here!

    • @IamKanuKingsley
      @IamKanuKingsley Рік тому

      @@BoualiAli are the courses on your website on time-bound access or lifetime access?
      Regards.

    • @BoualiAli
      @BoualiAli  Рік тому +1

      @@IamKanuKingsley yes lifetime access

  • @wilsonmwangi8647
    @wilsonmwangi8647 Рік тому

    Amazing job. It's very easy to understand and implement. I hope you create a microservice with security course including either the JWT or OAuth 2

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Happy you liked it
      I will provide one about security too

    • @wilsonmwangi8647
      @wilsonmwangi8647 Рік тому

      @@BoualiAli Awesome. I Can't wait

  • @ibrahimbenzekriarabi570
    @ibrahimbenzekriarabi570 4 місяці тому

    So simple and helpfull, thank you Ali

  • @sweets7092
    @sweets7092 Рік тому

    Cool, I really like the way you set it up. Recently I bought some old-school microservices course on udemy, but well.. Yeah, it's outdated and I didn't process with the course. 😅

  • @abu-dukhan
    @abu-dukhan Рік тому +1

    Maasha Allah, this will be super super awesome, especially from your Ali 😁
    I didn't finish watching it yet, and I'm very sure if I watched it I'll come to make another comment in Sha Allah ❤❤❤
    Thanks once again Ali. JazaakAllahu khairan and also Eid Mabruk 🎉

    • @BoualiAli
      @BoualiAli  Рік тому +1

      JZK brother.
      I'm really happy that you like my content.
      Aid Mabruk

  • @caffeinejavacode1475
    @caffeinejavacode1475 Рік тому

    What are the advantages and disadvantages of using bootstrap yml to set up Spring Cloud? Why don't you use bootstrap yml approach?

    • @BoualiAli
      @BoualiAli  Рік тому +1

      bootstrap.yml is deprecated

  • @XxnenuxX100
    @XxnenuxX100 6 місяців тому

    Great work Ali! Nowadays, what do you think is best for service discovery? Spring Cloud Netflix Eureka or Kubernetes? Thanks for all!

    • @BoualiAli
      @BoualiAli  6 місяців тому

      Depends on your infrastructure and your technical choices

  • @truongnguyensy5458
    @truongnguyensy5458 5 місяців тому

    Your video was wonderful sir,
    but i have a question: how can you use spring security and jwt in this project with login register sir

  • @yannsonfack8640
    @yannsonfack8640 3 місяці тому

    Can we have a similar tutorial implemented with kafka thanks......great job

    • @BoualiAli
      @BoualiAli  3 місяці тому

      Already done
      Check the videos

  • @eduardodasilva1509
    @eduardodasilva1509 Рік тому +1

    Awesome video!
    Learning alot from you.
    But i have a question, how to implemente the security for the microservices arch?
    the authentication be in the gatheway or the gateway should request the auth from a service that can handle it?

    • @BoualiAli
      @BoualiAli  Рік тому +1

      I will make a video about that

  • @manue117g
    @manue117g Рік тому

    Excellent course thanks!

  • @MauricioHernandezReyes
    @MauricioHernandezReyes Рік тому +1

    Awesome tutorial, thanks for your time and dedication

  • @linhtan6237
    @linhtan6237 Рік тому

    Good job about video but can you make further one video about using message queue as kafka or rabbitmq with microservice. Thank you

  • @ManivannanBgi
    @ManivannanBgi 6 місяців тому

    How to implement a rollback in the microservice in the event that one of the services fails. What should be done about failed transactions that affect every microservice? Would you kindly provide advice or a video on how to handle rollbacks for each microservice's transaction?

    • @BoualiAli
      @BoualiAli  6 місяців тому

      Use SAGA pattern

  • @fablotagong9930
    @fablotagong9930 Рік тому

    Thanks for this amazing course

  • @gamingbeast710
    @gamingbeast710 11 місяців тому

    Nice ❤. Just one thing you did not show that the 2 services of students and school are no longer available on their respective ports .or does they still exposed to public??
    I mean how does the usage of gateway api hide those 2 services from being exposed to public . Please explain that point.

    • @BoualiAli
      @BoualiAli  11 місяців тому +1

      API GW is the entry point.
      Hiding the services should be done when deploying and configuring your network (VPC / Cloud / Container, ...)

  • @manuonda
    @manuonda Рік тому

    Thank so much! It's amazing!

  • @MG-wx8yx
    @MG-wx8yx Рік тому

    Amazing tutorial, brother.

  • @andrew_755
    @andrew_755 Рік тому

    It was incredible, thank you so much!!

  • @j.mohamed
    @j.mohamed Рік тому

    Thanks Ali, nice job . Can you make version of the course with replacing of Spring config server with Kubernetes config maps and secrets instead ?

  • @nelsoncastiblanco6966
    @nelsoncastiblanco6966 Рік тому

    Excellent! But where should authentication and authorization be implemented with spring security?
    I have seen your videos, but I don't know how to implement them in that microservices architecture.

  • @dianavintila
    @dianavintila 4 місяці тому

    thank you for the tutorial!!

  • @georgeswakeu2802
    @georgeswakeu2802 Рік тому +1

    Salut Mr Ali et merci pour ces formations très importantes pour nous jeunes étudiants. Ceci dit, j'ai une question, est-ce que avec cette approche, nous pouvons toujours avoir dans le dossier config, un fichier application.(properties | yml) qui permet de centraliser toutes les propriétés communes à des microservices ?

  • @ArpanSardar
    @ArpanSardar Рік тому

    You're awesome! I sincerely thank you for making such great contents.

  • @LifeOfMohammed
    @LifeOfMohammed 11 місяців тому

    Thank you so much I have implemented it all slightly differently as to work for my use case but overall the same and these have been great tutorials and great explanations I do have a question though we do this to enable load balancing but how would that work for your applications as the server port is into the config server so if u opened up another application it would still redirect to the first one?

    • @BoualiAli
      @BoualiAli  11 місяців тому

      An orchestrator like Kubernetes should take care of this

  • @stevegatspaul
    @stevegatspaul Рік тому +1

    Thank you brother 😀and please keep uploading videos like this, what about the front end?

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Thank you brother.
      I'm creating the plan for an Angular course soon

    • @tomaszgrabowski8312
      @tomaszgrabowski8312 Рік тому

      @@BoualiAli Angular course for me is very important at this moment. Please Ali

    • @BoualiAli
      @BoualiAli  Рік тому

      @@tomaszgrabowski8312 ASAP

  • @YGaming18
    @YGaming18 Рік тому

    well explained thank you

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Happy you liked it!

  • @unvandy9293
    @unvandy9293 Рік тому

    Thank you for sharing 😀

  • @mariajosef5161
    @mariajosef5161 Рік тому

    Nice, can you add load balancer, messaging like kafka and also caching with redis

    • @BoualiAli
      @BoualiAli  Рік тому

      Nice and relevant suggestions.
      I will try to cover that asap

    • @BoualiAli
      @BoualiAli  Рік тому

      Subscribe to my website and you will receive many updates.
      aliboucoding.com/courses

  • @jayTzanTG15
    @jayTzanTG15 Рік тому

    Hi I have a question, I know that for sake of efficiency your are keeping the practices light. But should in the architecture given the Databases being two separate entities with different containers ? *IE every microservice to have its separeate independent posgres database ? Thank you

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Yes totally true

  • @Constantine4j
    @Constantine4j Рік тому

    great work! thank you!

  • @ДенисДамшель
    @ДенисДамшель 11 місяців тому

    I thought with the help of Eureka I wouldn't have to remember which port the microservices are on, I didn't understand why you need it.

  • @IamKanuKingsley
    @IamKanuKingsley Рік тому

    Thanks

    • @BoualiAli
      @BoualiAli  Рік тому

      I really appreciate that 🥰

  • @Argelino_En_Espana
    @Argelino_En_Espana 7 місяців тому

    السلام عليكم
    اولا شكرا على الشرح الرائع ربنا يجعلها في ميزان حسناتك
    عندي سؤال بخصوص الحماية في الميكروسارفيس
    لقد رأيت الشرح الخاص ب jwt في قناتك
    اريد اضافة jwt في microService
    هل في كل ميكروسارفيس نضيف حماية
    ام في gatewaye فقط ؟
    و شكرا

    • @BoualiAli
      @BoualiAli  6 місяців тому

      you can only add it to the gateway. But it is also recommended that each microservice needs to check and validate the token

  • @khalilbouali3480
    @khalilbouali3480 Рік тому

    thanks a lot for this tutorial !

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Happy you liked it!

  • @breinerfranciscobatallacai8379

    Amazing video, let me ask you something. How zipkin works? you just put dependencies into pom.xml and automatically tracing was sent to zipkin? I mean, you didn't need to put zipkin's url into application.yaml or something like that to connect the microservices to zipkin server.. Thanks a lot.

    • @BoualiAli
      @BoualiAli  Рік тому +1

      It works with the default configuration coming from the starter. You can of course override the default config. Please refer to the documentation for more info

  • @manuonda
    @manuonda Рік тому

    Can there be a discount for the country of Argentina about your courses? . Because in our country is undervalue our money.

    • @BoualiAli
      @BoualiAli  Рік тому

      please contact me via e-mail: contact@aliboucoding.com

  • @marcoscanete2366
    @marcoscanete2366 Рік тому

    thank you for the amazing content!

  • @stibtom
    @stibtom Рік тому

    Isn’t it better to communicate between microservices via Eureka hostnames instead of making requests from internal network to the API gateway?

  • @andrew_755
    @andrew_755 Рік тому

    thanks for the video, I wish you could answer me this question, is it not necessary to register the gateway and config server in eureka?

  • @ziedbrahmi4812
    @ziedbrahmi4812 Рік тому

    Thank you!!

  • @seifamara3677
    @seifamara3677 Рік тому

    Thank you so much

    • @BoualiAli
      @BoualiAli  11 місяців тому

      You're most welcome

  • @odigbocharlesjnr1222
    @odigbocharlesjnr1222 6 місяців тому

    Thank you @Bouali. But i couldn't add the OpenFeign client to my project. Maven doesn't seem to import the dependency. What do i do?

    • @BoualiAli
      @BoualiAli  6 місяців тому

      I will check the latest versions

  • @merxxibeaucoup9093
    @merxxibeaucoup9093 Рік тому

    Great content as always ❤... thank you

  • @hanen2699
    @hanen2699 Рік тому

    Thank you for the knowledge and skills you're sharing on your channel. Your videos have been incredibly informative and inspiring, and I've learned so much from watching them.
    I am having trouble externalizing the configuration of my discovery service, and I've encountered the same error you had precisely at 1:00:51. I'm unsure how to resolve this issue, and I would appreciate any advice or guidance you can provide.
    Thanks again

    • @BoualiAli
      @BoualiAli  Рік тому

      Really happy you liked it
      Can you give more details about the issue?

    • @RochaNahuel
      @RochaNahuel Рік тому

      tengo el mismo problema ahora nada funciona

  • @dorrakadri1474
    @dorrakadri1474 Рік тому

    Thank you for your video, but I have a question concerning Git when using microservices. What's the best practice: to put each microservice in a separate repository or all in one, especially if we are using different frameworks, such as Spring Boot and Node.js, and we have a frontend app? ps:its a group work

    • @BoualiAli
      @BoualiAli  Рік тому +1

      I prefer working with mono repo since I want to have all the code in one place.
      Many companies are migrating to monorepo now
      monorepo.tools/

  • @farjallahhaythem5675
    @farjallahhaythem5675 Рік тому

    great job congrats for this amzing work ur doing great i hope u do async Communication instead of http or mybe Grpc and if possible could u cover more of spring cloud and agian amzing presentation and information

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Thank you for the feedback. I will do an asynch communication video ASAP

  • @alexanderbronola
    @alexanderbronola Рік тому

    Very interesting video. However, I wonder if I just missed some steps about postsgresql. my student and school application won't start until I installed it and created the students and schools database manually and also set a password for the postgres default account. After both were running and tried to use postman to post the school entry, I got the following error, "ids for this class must be manually assigned before calling save():". I'm thinking that maybe I have to manually create the table first?

    • @BoualiAli
      @BoualiAli  Рік тому +1

      What you did is what needs to be done as a first step.
      I assumed that everyone is capable of setting up his own working environment and have things up and running before starting.
      I will consider your input for future video and at least mention what needs to be prepared (pre-requisites) before tackling the course

  • @t_oguz06
    @t_oguz06 Рік тому

    Hello Mr. Ali i did not watch the entire video yet but i just want to ask a question. In microservices architecture how we can implement api gateway to security?

    • @BoualiAli
      @BoualiAli  Рік тому

      Just apply the jwt security video to you api gateway

  • @fpldaily5172
    @fpldaily5172 Рік тому +1

    mans looking directly in my soul

  • @seifeddinemarzouga
    @seifeddinemarzouga Рік тому

    thank you

  • @chirantharavishka5918
    @chirantharavishka5918 Місяць тому

    i get the probelm how run your program firstly configure discovery service but not setup the config-server but your program run correctly but i get the error

  • @alandosman5002
    @alandosman5002 Рік тому

    thanks for this awesome video, its a lil late but Eid mubarak, can you please tell me what tool have you used to design the architecture?

  • @samahmahdi5511
    @samahmahdi5511 6 місяців тому

    Thanks

  • @l30sd
    @l30sd 7 місяців тому

    Can you please push the latest changes to the git repo that you put in the description

    • @BoualiAli
      @BoualiAli  6 місяців тому +1

      Sure,
      I will release a new microservices video soon

    • @l30sd
      @l30sd 6 місяців тому

      @@BoualiAli Thank you, I'll turn on the notifications bell for that

    • @l30sd
      @l30sd 6 місяців тому

      @@BoualiAli If you could use rabitmq or something similar and explain the pros and cons of using it

  • @khalilmarzouki636
    @khalilmarzouki636 Рік тому

    great job as usual , shine brother

  • @chilufyaowens4872
    @chilufyaowens4872 Рік тому

    Hello👋hope you are doing good, I am kindly requesting a tutorial on microservices that includes security.
    This includes securing api-gateway. secure service to service communication, access control, Creating custom filters: Use custom filters to add additional security measures to microservices. Filters used to perform tasks such as logging, auditing, and rate limiting.
    Spring Cloud Config: Use Spring Cloud Config to store the security configuration for each microservice in a centralized location to easily to manage and update the security configuration for all microservices.
    Spring Cloud Vault: Use Spring Cloud Vault to store sensitive security information, such as passwords and keys, securely. To ensures that sensitive information is not stored in plain text in configuration files.

    • @BoualiAli
      @BoualiAli  Рік тому

      Great suggestion
      Thank you

  • @m_jdm357
    @m_jdm357 9 місяців тому +1

    The configs for gateway didn't work for me.

    • @BoualiAli
      @BoualiAli  6 місяців тому

      what is the problem

    • @m_jdm357
      @m_jdm357 6 місяців тому

      @@BoualiAli I don't remeber the error I encountered or why did I got it. It's possible that I've made a mistake. Either way I learned a lot and I thank you.

  • @LifeOfMohammed
    @LifeOfMohammed Рік тому

    How would we go about implementing authentication micro service? As in diagram wise so I would want every request to go though it but some could be authorised though JWT token

    • @BoualiAli
      @BoualiAli  11 місяців тому +1

      Implement it on the gateway

  • @maryamsedghimoradi
    @maryamsedghimoradi Рік тому

    awesome

  • @mirarima8877
    @mirarima8877 Рік тому

    بارك الله فيك
    Excusez moi ,j'ai une question dans le cas d'une API Gateway, faut-il créer un filtre personnalisé pour appliquer autorisation sur les micro services ou existe-t-il une autre méthode à privilégier

    • @BoualiAli
      @BoualiAli  Рік тому +1

      Tu parle de la sécurité?

    • @mirarima8877
      @mirarima8877 Рік тому

      Je suis actuellement en train de chercher des informations sur le fonctionnement de la sécurité RBAC avec une API Gateway et j'aimerais approfondir mes connaissances sur ce sujet. Plus précisément, j'aimerais comprendre comment une API Gateway peut recevoir un token, le filtrer pour récupérer les rôles et diriger les requêtes en conséquence. Malheureusement, je constate qu'il y a peu de ressources disponibles sur ce sujet, la plupart étant axées sur l'utilisation de Keycloak et d'Oauth2, ce qui complique ma compréhension. Auriez-vous des suggestions de lectures ou des informations à me fournir à ce sujet ? Je vous remercie par avance pour votre aide.

  • @marwamnasri7914
    @marwamnasri7914 6 місяців тому

    Thnks for this

  • @ulugbektoshmatov3433
    @ulugbektoshmatov3433 11 місяців тому

    Assalaamu alaikum bro Ali. Thank you for all your video series which are only beneficial for us. I, as a self-learner, find your channel to be one the most useful ones to learn programming.
    However, I noticed something unusual about this microservices lesson. You are accessing api/v1/student/** endpoint both through its own port which is at 8090 and through gateway which is at 8222. I think all microservices, including student microservice, must be accessible only through gateway, when requested to other ports, 8090 or 8070 for instance, "path not found" response must be returned. And also, on Eureka server at localhost:8761, gateway did not appear as a running server like STUDENTS or SCHOOLS.
    Can you, please, make any suggestion to configure my microservice architechture so that it is only accessible though gateway? Thank you again.

    • @BoualiAli
      @BoualiAli  11 місяців тому

      All the microservices are configure to call the API Gateway url not the service it self.
      CHeck the code (config-server)

  • @NextStyleNS
    @NextStyleNS 9 місяців тому

    With circuit breaker, please

  • @RochaNahuel
    @RochaNahuel Рік тому

    There was no way to operate the externalization in config-server

    • @BoualiAli
      @BoualiAli  Рік тому

      What is the problem?

    • @RochaNahuel
      @RochaNahuel Рік тому

      @@BoualiAli
      several days passed and avoid using the config server to be able to continue with the project since everything worked well without it but I think the error was something about
      2023-09-05T02:26:29.731-03:00 INFO 5932 --- [ main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server
      2023-09-05T02:26:29.957-03:00 INFO 5932 --- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='localhost:8761/eureka/}, exception=I/O error on GET request for "localhost:8761/eureka/apps/": Connect to localhost:8761 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: no further information

  • @rayenbenboubaker9744
    @rayenbenboubaker9744 Рік тому

    why u use .yml instead of .properties ?

  • @FranciscoQuintero-em7tr
    @FranciscoQuintero-em7tr Рік тому

    Amazing video.

  • @giovanniscribano4717
    @giovanniscribano4717 2 місяці тому

    Pls sir, Could u use the IDE light mode? It would be clearer to read and look at! In this way

  • @alekseyg.5133
    @alekseyg.5133 Рік тому +2

    yml programming....

  • @seyhaphan7319
    @seyhaphan7319 Рік тому

    why not use http interface?

    • @BoualiAli
      @BoualiAli  Рік тому +1

      I will use in a coming video

  • @InsureInvest
    @InsureInvest 8 місяців тому

    ❤👍