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
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.
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.
Thank you!
Exactly
Microservices are not for beginners that's why :)
No doubt, best content.
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
I think that this channel is the best deep is spring security and now, on the micro services series. Thank to you so much ❤❤❤
thanks abhilash bro. lot of interesting things are there in your content.
Feeling great bro. Very easy to follow and understand, thanks brother Abhilash to help grow the Java community 🙏🙏🙏
I watch your videos everyday for 3-4 hour , thank you for providing best content without any cost
My pleasure ❤️
Hi abhilah I’m so glad to have you as my teacher … keep up the good work
thanks Sir. getting almost every single word of yours. thanks once again. wish me luck for interview🙂
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 !!!
How amazing content u provide. God bless u
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
Thanks bro for such a wonderful deep explanation.
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.
Thanks Hemanth. Glad that it helped ☺️
Thank you sir for the video. We will be eagerly waiting for the next video
My pleasure ❤️ See you in a week.
Great work brother .. clear explanation
Thank you again Sir, I really appreciate your effort in doing this series 👌
Thanks so much! Glad that you are liking it ☺️
i just wanna cal you....#Sir🙂 #The way how you enter into our brains & find our doubts by yourself #just amazing💫
Ur teaching skill really osm🌟
Sir please complete this microservices series.
This is very helpful for us.
Thanks a lot for this series
Love from AGRA ❤️🤗
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.
@@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 ❤️
feeling great, completed the video.
Best series on Microservices..👏👏💯
Thanks for the compliment, Paridhi !
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
That's so kind of you, Shreyansh 😊 you can talk to me anytime. I am always free 😀
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
@@shreyanshsinha1171 Glad to have you here, Sir ! I am really happy to know that my contents are helping .
I was waiting for this :)
Happy Learning !
As usual just best..
Hi. I have one question . How you have createt two microservices in address-service? Thanks
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 ?
can you please explain the difference between eureka discovery and api gateway?
Awesome👏
Thanks, Akhil !
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.
Can we run the discovery server without having the eureka client dependency i.e by excluding the eureka client dependency from eureka server dependency.
How many hours of episode are left please reply i am about to start this series
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
@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)
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.
Yes, you're right, Abhilash pls consider this
Thank you sir 😊
Awesome..
Thank you sir
Nice course sir, expecting faster video upload
Hi Satya ! There are few more videos to come. Will wrap up in couple of weeks. Next video will be on Saturday, this week.
I am not able to getting eureka dashboard even after I added all configuration,, anyone give me solution
Do you have a course on docker and kubernetes. I dont mind paying
feeling great
Thanks abhi ❤️
❤️
Thank once again
Welcome, Santosh!
Bhai.. I just completed core java.. How to start with frame works.. Any order
Hi Gopi. Start with Spring core !
Nice sir
Thanks, Satya !
I wanna ace the microservices
Bhai, Do you have course for the microservices
Hi Arjun! Do check out the full version of this course.
@@SeleniumExpress where can i check