Microservices Challenges - Exception Tracking | What is Centralized Logging ? Java | Spring Boot
HTML-код
- Опубликовано: 21 июн 2023
- In this video, We will discuss about one of the challenges in Microservices design architecture. It is one of the frequently asked microservices interview questions.
As in microservices, the request goes through several servers, tracking an exception using server logs will be difficult. Well, How many server logs you can open ? It is going to be a tedious job. isn't it ?
Another challenge is, tracking a specific request. Let's say if you get a ticket like "a specific request with a specific condition is failing". Isn't it going to be difficult to track a specific request ? There will be many requests continuously hitting the server. How you will you be tracking a specific one ?
No worries, We can follow a centralized Logging architecture to fix this. It is a design, we can follow to avoid one of the serious Microservices Challenges.
If you are a java developer, who is working with a Spring , Spring Boot setup and using Spring Cloud, you can use ELK/ Kibana / Splunk for centralized logging. The sleuth/ Micrometer project can help you to generate a tracking / tracing id as discussed on this video.
Happy Coding !!
#microservices #java #springboot #microservicestutorial #youtubeshorts
For More free/paid courses visit
www.seleniumexpress.com
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
These short videos will be really helpful for us to revise the learnt concepts, Thanks.❤❤
❤️
Really helpful Thanks Ton.
Love you sir you are great ❤
Thanks ❤
Thanks abhi
Really Helpful, thanks
Just like centralised database
@Abhilash sir->i am watching your microservice series, i am facing issue while i am registering any service to eureka client--please help me if possible
HI Mobashir,
Any specific issue you are getting?
@@SeleniumExpress i added dependency of (eureka-client) into address service.
And try to start it
I got this exception
DiscoveryClient_ADDRESS-SERVICE /DESKTOP-3R1QA8S:address-service :8991 - registration failed Cannot execute request on any known server
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
Instead of IP, 'DESKTOP-3R1QA8S: address-service :8991' is shown on console.
As well as same is show in(Eureka instance dashboard-in case of)
Instead of IP,DESKTOP-3R1QA8S:discovery-service:8761
@@Mobashir-od9fo have you added the property for the Eureka server serviceUrl in your client properties file ?
Looks like your client is not able to connect to the Eureka server. Confirm the port number you are using for Eureka server and also let me know your client's configuration properties.