Introducing Spring Cloud EUREKA | HOW TO DISCOVER MICROSERVICES ? Service Discovery | SPRING BOOT #6

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • The nuts and bolts of Spring cloud Eureka discovery server, Let’s cover it in this extended lesson. In this video we will learn to implement spring cloud Netflix eureka in our microservices. The services that we usually write should be container friendly , hence will be having dynamic url’s . In that case, communication between different microservices will be tricky as all the service url’s changes every time. Service discovery and service registry is a pattern which comes for rescue. We made all our microservices , a client to a discovery server which keeps tracks of all the service urls.
    When a microserivce wants to connect to another , it reaches to the discovery service and asks for the url of the destined Microservices. Once the discovery service returns back the url info, the calling microservice makes a call to the destined Microservices using the service url.
    So as we understand, we need to build couple of things. The step 1 is to build a discovery service where my services will be registered. The spring cloud in collaboration with Netflix eureka gives us a powerful discovery server called spring cloud Netflix eureka which works seamlessly to help discovering all our microservices.
    The step 2 will be, adding the Netflix eureka client dependency in our microservices which helps our microservices to register with the discovery service when they bootstrap.Let’s say if we have a hundreds and thousands of microservices , we will make all these services a client to the discovery server so that they can register themselves with the discovery server.
    Let’s learn this concept step by step. Implement, do discovery service configuration and learn all the foundation that you need to work in a microservice environment.
    Time Stamp
    ------
    00:00:00 - Introduction to Service Discovery
    00:07:20 - So many apps.. How to mange urls ?
    00:11:18 - Spring Boot + Spring Cloud Netflix Eureka
    00:14:58 - Enabling eureka dashboard
    00:17:48 - AWS Regions and Availability zones
    00:27:58 - Eureka Discovery Service clusters
    00:36:32 - Solving eureka server bootstrap issue - connection refused !
    00:39:21 - fetch-registry
    00:44:13 - Eureka internals concepts (default/customized port mystery )
    00:58:47 - enabling/disabling client registration (register-with-eureka)
    01:02:00 - Building a eureka client
    01:20:54 - how eureka client and server communicates (Internals) ?
    01:29:54 - Debugging Guide - Eureka clients are not registering. Help !
    #JavaMicroservices #SpringBoot #SpringCloud #EurekaServer
    In this series of Sessions we will learn to create Microservices using spring boot and We will Implement spring cloud to resolve the known challenges during MS development.
    This course will get you started with Microservices, for in-depth Microservices hands-on you can check out the below paid course : Course Name : Spring Boot Advanced + Microservices Bootcamp (Running Batch)Mode : Live / Self-Paced
    www.seleniumexpress.com/cours...
    #Microservices #SpringBoot #SpringCloud #java
    For more free / paid courses visit
    www.seleniumexpress.com
    Resources :
    If you already have some spring basics, You can take the below paid course On Spring Framework to enhance your skill set.
    www.seleniumexpress.com/cours...
    LINKS AND FREE LEARNING RESOURCES
    ========
    Watch my new mock interview series for java developers
    • Java interview questio...
    Watch Spring boot Hot topics
    • @Reposicotry Vs @Servi...
    Java Interview / Question and Answer series
    • Java collections inter...
    Explain spring Bean Lifecycle
    • REAL-TIME: Spring Bean...
    spring core
    • Spring framework tutor...
    spring mvc
    • Spring MVC course intr...
    spring mvc intermediate
    • [INTERMEDIATE] Spring ...
    Spring JDBC
    • Spring JDBC Course Pre...
    spring live project
    • #1 Build and Deploy A ...
    SPRING SECURITY COURSE[NEW]
    • Spring Security Course...
    For more courses visit
    www.seleniumexpress.com
    Any time you are getting stuck with issues, Feel free to ask for support.
    You can send mail to seleniumexpress@gmail.com
    you can ping me on my Facebook page
    / seleniumexpress
    Make sure to join my private Facebook page (Ask me here)
    “SeleniumExpress - Support"
    / 187000222361579
    you can ask for support in my website forum
    www.seleniumexpress.com
    Subscribe to my youtube channel
    / @seleniumexpress
    Follow me on Insta
    / selenium_express

КОМЕНТАРІ • 76

  • @aprajitakasyhap8430
    @aprajitakasyhap8430 19 днів тому

    That's great to hear! 6 years ago, I learned the Spring framework from your channel and successfully aced my interview. Today, I'm here to delve into microservices. Your course offers a clear understanding of the concepts and a practical approach that I find very beneficial. Great Job Abhilash.

  • @chakravarthi1029
    @chakravarthi1029 Рік тому +25

    I am just wondering to see the no.of views are very less. This course is one of the GEM. and this channel deserves all the credit.

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

      Thank you!

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

      Exactly

    • @JohnDoe-ej6vm
      @JohnDoe-ej6vm Рік тому

      Microservices are not for beginners that's why :)

    • @JohnDoe-ej6vm
      @JohnDoe-ej6vm Рік тому +1

      No doubt, best content.

    • @kunalmahale2230
      @kunalmahale2230 Рік тому +5

      The word "Selenium" somehow misleads one to think more of a testing than Development. If named something with Spring suffix / prefix would help. "Spring Express" maybe.
      Course Content is really good
      Great work

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

    I think that this channel is the best deep is spring security and now, on the micro services series. Thank to you so much ❤❤❤

  • @Yogesh_C.K
    @Yogesh_C.K Місяць тому

    thanks abhilash bro. lot of interesting things are there in your content.

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

    Feeling great bro. Very easy to follow and understand, thanks brother Abhilash to help grow the Java community 🙏🙏🙏

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

    I watch your videos everyday for 3-4 hour , thank you for providing best content without any cost

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

    Hi abhilah I’m so glad to have you as my teacher … keep up the good work

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

    thanks Sir. getting almost every single word of yours. thanks once again. wish me luck for interview🙂

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

    Abhilash bhai , please make some videos on AWS . Nowadays for every java interviews , from seniors they expect AWS knowledge . I follow all your videos and series and they help me in daily day to day work. God bless you . Keep up the good work !!!

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

    How amazing content u provide. God bless u

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

    Wonderful session🎉 keeping posting complete micro services videos. Excellent explanation.
    Also requesting you to do a video on roadmap to become a micro services developer

  • @prashantkumar-ko6yd
    @prashantkumar-ko6yd Рік тому

    Thanks bro for such a wonderful deep explanation.

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

    I don't have any idea about Eureka at all. But with this I am confident now. Thanks a lot for the detailed and clear explanation. I am a big fan of your explanation and the presentation of each content.

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

    Thank you sir for the video. We will be eagerly waiting for the next video

  • @PavanKumar-xq2pt
    @PavanKumar-xq2pt 5 місяців тому

    Great work brother .. clear explanation

  • @senya-man9710
    @senya-man9710 Рік тому +3

    Thank you again Sir, I really appreciate your effort in doing this series 👌

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

      Thanks so much! Glad that you are liking it ☺️

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

    i just wanna cal you....#Sir🙂 #The way how you enter into our brains & find our doubts by yourself #just amazing💫

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

    Ur teaching skill really osm🌟

  • @hrsatsangi
    @hrsatsangi Рік тому +4

    Sir please complete this microservices series.
    This is very helpful for us.
    Thanks a lot for this series
    Love from AGRA ❤️🤗

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

      Hi Rahul ! Thank you! ❤️
      Microservices is huge and I won't be complete it now. But yes this foundation will be wrapped up in couple of weeks.and videos on microservices will be keep on coming.

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

      @@SeleniumExpress totally agree with you sir this is a vast topic.
      But many poor students doesn't able to buy any kind of paid courses.
      This series will help everyone including them also 🙏
      Keep continue this series sir ❤️

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

    feeling great, completed the video.

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

    Best series on Microservices..👏👏💯

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

    i too am eagerly waiting for your each forthcoming video. You are great sir. because of u only i am successfulky cleared two interviews and is very much confident. Once again thank you sir. i wanna talk to you

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

      That's so kind of you, Shreyansh 😊 you can talk to me anytime. I am always free 😀

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

      sir, i am Sunil Sinha, Assistant Director(IT) and Shreyansh is my son. I am in govt job from last 20 years. i have recently given interview for Deputy Manager(IT) and got selected. I started getting confidence after watching your video. I had started working in java from last 5 years . started with struts then by watching your videos i satrted working in spring mvc. I am 50 and love to learn spring boot

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

      @@shreyanshsinha1171 Glad to have you here, Sir ! I am really happy to know that my contents are helping .

  • @JohnDoe-ej6vm
    @JohnDoe-ej6vm Рік тому

    I was waiting for this :)

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

    As usual just best..

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

    Hi. I have one question . How you have createt two microservices in address-service? Thanks

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

    Hi, I just watched your video. It was nice , but I didn't got which dependencies u have add in the beginning of the code.
    So, Can you please say it ?

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

    can you please explain the difference between eureka discovery and api gateway?

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

    Awesome👏

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

    Hi, Abhilash thank you for uploading such videos.
    great tutorials.
    I have one doubt. what will happen in the case of the below configuration
    server.port=8084
    spring.application.name=discovery-server
    eureka.client.fetch-registry=false
    will discovery-server trigger peer requests in every 30 seconds?.
    For me it is doing . but as per my understanding, it should not as we declaring "eureka.client.fetch-registry=false" configuration.

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

    Can we run the discovery server without having the eureka client dependency i.e by excluding the eureka client dependency from eureka server dependency.

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

    How many hours of episode are left please reply i am about to start this series

  • @truecompiler
    @truecompiler 18 днів тому

    Hi Abhilash, is it possible to create the discovery service inside the employee service or address service application or every time we have to create a different application for discovery service? Thank U from Delhiites

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

    @SeleniumExpress,
    is it reasonable to have multiple disc-services on the same server?
    also, in case of multiple disc-service on the same server, do they do leadership selection? (or would every disc-service be calling every other disc-service to get update)

  • @khushalijiyani6310
    @khushalijiyani6310 7 місяців тому +1

    Hello Abhilash hope you are doing well, whenever someone from the class is asking any question to you it's not audible clearly, so can you please add text for that time while you are uploading video? It would be very helpful. Thanks in advance.

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

      Yes, you're right, Abhilash pls consider this

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

    Thank you sir 😊

  • @Abhijeet-fi8rr
    @Abhijeet-fi8rr Рік тому

    Awesome..

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

    Thank you sir

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

    Nice course sir, expecting faster video upload

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

      Hi Satya ! There are few more videos to come. Will wrap up in couple of weeks. Next video will be on Saturday, this week.

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

    I am not able to getting eureka dashboard even after I added all configuration,, anyone give me solution

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

    Do you have a course on docker and kubernetes. I dont mind paying

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

    feeling great

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

    Thanks abhi ❤️

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

    Thank once again

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

    Bhai.. I just completed core java.. How to start with frame works.. Any order

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

    Nice sir

  • @ArjunSingh-is1bg
    @ArjunSingh-is1bg Рік тому +2

    I wanna ace the microservices

  • @ArjunSingh-is1bg
    @ArjunSingh-is1bg Рік тому +1

    Bhai, Do you have course for the microservices