Microservices Tutorial example using Spring boot with Eureka |Microservices Spring boot Eureka
Вставка
- Опубліковано 28 чер 2021
- In this video of microservices using spring boot and eureka of code decode we have explained
Vaccination Center And User / Citizen Microservices and Eureka Real world Microservice spring Boot Example.
In this video of code decode we have explained microservice example in Spring boot using Eureka.
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/udemycourse
Course Description Video :
yt.openinapp.co/dmjvd
✅ Microservices Basis : • Microservices Basics T...
✅ Microservices with Hystrix : • Hystrix circuit breake...
This video is created with the most real time example of real world. Which is vaccination center service and user service
Microservices architecture using spring boot are a form of service-oriented architecture style .Its one of the most important skills for Java developers Now a days wherein applications are built as a collection of different smaller services rather than one whole app.
In place of one monolithic app, in microservice architecture we have several independent applications that can run on their own and may be created using different coding or programming languages.
This Microservices example using spring boot captures your business scenario, answering the question “What problem are you trying to solve?”
Microservice architectures are the ‘new normal’. Building small, self-contained, ready to run applications can bring great flexibility and added resilience to your code. Spring Boot’s many purpose-built features make it easy to build and run your microservices in production at scale. But no microservice architecture is complete without Spring Cloud ‒ easing administration and boosting your fault-tolerance.
Microservice resilience with Spring Cloud
The distributed nature of microservices brings challenges. Spring helps you mitigate these. With several ready-to-run cloud patterns, Spring Cloud can help with service discovery, load-balancing, circuit-breaking, distributed tracing, and monitoring. It can even act as an API gateway.
With Spring Boot, your microservices architecture can start small and iterate fast. That’s why it has become the de facto standard for Java™ microservices. Quickstart your project with Spring Initializr and then package as a JAR. With Spring Boot’s embedded server model, you’re ready to go in minutes.
Need to Eureka:
Netflix Eureka service registry - A service registry is useful because it enables client-side load-balancing and decouples service providers from consumers without the need for DNS. Then u can build a client that both registers itself with the registry and uses it to resolve its own host.
Spring Cloud helps you manage that complexity with a service registry like Eureka and Consul and client-side load-balancing.
The service’s port is defaulted to the well-known 8761 .
Github link for Code : github.com/codedecode25/Micro...
Most Asked Core Java Interview Questions and Answers : • Core Java frequently a...
Advance Java Interview Questions and Answers : • Advance Java Interview...
Java 8 Interview Questions and Answers : • Java 8 Interview Quest...
Hibernate Interview Questions and Answers : • Hibernate Interview Qu...
Spring Boot Interview Questions and Answers : • Advance Java Interview...
Angular Playlist : • Angular Course Introdu...
GIT : • GIT
-------------------------------------------------------------------------------------------------------------------------------------
Subscriber and Follow Code Decode
Subscriber Code Decode : ua-cam.com/users/CodeDecode?...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
#microservices #codedecode #MicroservicesImplementationSpringbootEureka #java #microserviceExampleUsingEureka
Hey Guys in this video we have covered how 2 microservices interacting with each other and we have also covered how to register them with eureka server. Please comment if you want us to cover API gateway, fault tolerance and centralised logging in next part.
Hi.. Thank you for the amazing content. I have been waiting for this part. I believe API Gateway is required and it's implementation because 7 out of 10 interviewers have asked about it. As for fault tolerance and logging, only few have asked.
Thank you for your help and content in helping me crack Java developer inteviews. Forever grateful to you. I am trying to spread your channel details as much as possible.
Sure Kartik, we will cover it all 👍👍
Great one 👍 Yes please do cover logging, api gateway etc. Can you include apache Kafka and also use docker/kubernetes for the current Microservices project.
Yes Karthikeyan, we will cover all these topics too 👍👍
Thank you very much for explaining MS in so much details. I am getting lot of confidence after watching your videos. keep up great work.
The best thing about your tutorial is your communication, your content, and explaining it line by line. Simply superb! I am looking forward to more tutorials. Manapasun Shubechha!!
Thanks a lot 🙂🙂sure we will put more such videos. Can u please translate last line for me?
@@CodeDecode Last line is Thank you so much
Such a great content.. I tried many resources in UA-cam but didn't get clarity, but finally i understand what i need. Thank you for such a best content. One request please upload topics quickly, we don't want to wait 😊
Thanks Pal 👍🙏. Sure we will try to upload rest topics as soon as possible 👍👍
Thank you so much for this great content. Really appreciate the way you explain concepts and make them understand very quickly! Thanks again :)
Thanks a ton Anuradha 🙂👍
hi anuradha
Waiting for next set of videos Microservices. Please do upload. Just want to say thank you in an infinite loop for all the help you guys are doing 👍
Thanks Karthikeyan. We will upload soon 👍👍
Best teaching skill.. whenever having doubt while doubt.. next few minutes video is clearing it..
Thanks Kasi. We are glad to know that 🙂🙂👍👍keep leaving keep growing 👍👍
You are doing this great for us. lots of Thanks. Please cover API gateways, fault tolerance and centralized logging in as early as possible.
Sure Rohit 👍👍
Amazing tutorial, precise and straight to the point... Thank You so much 😊
Thanks 🙂👍
Really it's helpful as I moved to New project where we are using microservices....thank you very much...lot of microdetails are also covered along with microservices in this video 😀😀😀...
Thanks 🙂🙂👍👍. This motivates us to create more such descriptive content. It does require R and D, but it's all worth it and we love doing it for u guys as u support us 🙏🙏
Helped me to understand, and eagerly waiting for the next video. Please upload soon :)
while doing the code in my machine, got troubled with some Eureka server based error, handling those. All in all the concept very well understandable.
Sure Arka, we will upload that soon 👍👍
The way you tell each and every thing is just exceptional... Great views will come to this channel. No doubts in it. Waiting for more such contents ma'am.
Thanks a tonn Utkarsh 🙂👍
Thank you so much to get started with Microservices with your clear explanation. It's awesome job by doing live coding which is helping for easy understanding.
Thanks Senthil 🙂👍
@@CodeDecodeIs API gateway video uploaded?
This is a pure 916 content.Please continue making microservices related videos.
Thanks sujith....
such a great explanation. please bring more videos on spring microservices ❤️❤️
Sure Neeraj 👍👍
Great explanation, I’m just watching ur videos for all minute details . Thanks for this info
👍👍 hope it helps Nandini
Perfect content helping me a lot to upskill. thanks for the video
Very useful content about how ms communication should be handled. Thanks for the video and efforts taken.
Thanks a lot Khemraj 🙂👍
what an explanation madam love the the way u r doing, even it is one hour not even diverted one second
Thanks Sekhar 👍🙂
Forever grateful...Best teacher ever
Thanks a lot Srikanth 🙂👍
Really helpful Ma'am . Thank You . Kindly complete API Gateways, Logging , Fault Tolerance , Circuit breakers and other important topics practically if possible . Good day 🙂
Sure Shweta, we will scale this example to all these topics 👍👍
great video and nice explanation on Microservices. appreciate the way you explain concepts and make them understand very quickly. Very recommended. Thank you so much.
Thanks a lot Mounika 😊👍❤️❤️
You are explained in Such a easy and simple manner subscribed the channel. Kudos to your work
Thanks a lot😊😊
Thank you so much for such a great effort you put on all videos. i cant admire enough. please keep it up.
Thanks Bhavik 🙂👍
one of the best tutorial I found on youtube.... Great
Thanks a lot Suraj 🙂👍
I am bit scary to shift in development side as because of i am tester and always feel like development is hard. But your videos are very clear understandable i feel like I can do development. Thanks a lot mam for making these kind of videos. Those are really very helpful to the beginners those who are wanted to shift in dev side from testing. Once again thanks a lot mam. Subscribed.
Thanks for the nice words and all the very best for your future
@@CodeDecode thank you so much mam
Truee. After watching this playlist, I got the confidence that I can clear interviews on development.
Thank you so much for this video. Eagerly waiting for the other parts..
Sure Saumya we will upload that soon👍👍
Loved the content, explanation and what a clarity ! ❤️
Thanks raunak
Every video I watch I am amazed by ur Explainations...
Great work mam...👍👍👍
thanks ganpati for appreciation
Great tutorial and excellent💯👍👏 explanation. Helped me a lot to understand about MicroServices. Eagerly Waiting for next remaining parts.
You are doing a Great Job for everybody. God bless you🙏😊
Thanks Indrajeet 🙏🙏
This means a lot Indrajeet 🙏🙏thanks for the motivation 👍👍
It was good and easy to understand, please make more videos on Microservices in details
Sure next video are lined up....
Thank you for posting microservices video it is really helpful thank you
Thanks Vengat 👍
Great explanation, started going through all videos
Thanks.
Thanks Feroz khan 👍🙂
We are waiting for the Next part series, Thank you.
Sure 👍👍
Nice video and project implementation, keep up uploading more videos.
Unfortunate that there are less likes.
Thanks for the nice words sandeep....
super explanation... you should be more recognized .... keep up the good work...
Thanks tapan for the nice words
Excellent sister 👍🙏
Make more videos on spring boot and please make project on spring boot including front-end and back-end
Btw Great explanation 👌🙏
Sure, we are planning to do that really soon 👍👍
Great explanation 👍👍, waiting for the next part💕...
Sure poonam videos are lined up....
Very Nice Tutorial
Helpful and easy to understand .👌👌
Thanks Sajal 👍👍
Awesome work . Appreciate your patience 👍🏻
Thanks 👍
Great video. Clear explanation 👌 Expecting more videos..
Sure👍 thanks 👍👍
THanks a lot for creating this video. I also would like to suggest to use sound proofing materials when recording videos so that noise level and echo is reduced. I hope you will take it positively...
Sure Manraj. We will work on noise issues 👍👍 thanks for letting us know. Means a lot Man 👍👍🙂
Awesome! Thanks for creating such a knowledgeable video ... Keep it up👍👍😊
Thanks karishma
Hi, Awesome content, clear demonstration . Thank you.
Thanks Pragya 🙂🙂👍
1 hour 200 views, 1 day 200k, 1 month 2M 😃
Thanks for the practical content
Thanks 🙏
Excellent video! Thanks for the explanation.
🙂👍
as mentioned there can be multiple eureka servers, how our services are get to knw to which eureka server they need to register? Like we are configuring only for getting register but not specifying which server.
thanks a lot love the way you explained this
Thanks Tejas 😊
This is really helpful. Thankyou
You're welcome!
Excellent and clear explanation
Thanks
Good and simple one..easy to understand
Thanks
thank you so much for these informative videos with a great explanation ...can you make a video on deploying this entire microservice into AWS using Lambda and API gateway
Sure Suryadoy, AWS deployment is in our pipeline 👍🙂
Easy tutorial and clear..Keep it up
Thanks a lot
Great stuff, explained in a simple manner, Thank you very much! One question please - how will we ensure database constraints between citizen and vaccination center tables? If that is the case, we should use single database, right? Or is there a better way, still keeping different databases for the two microservices?
It's usually a better approach to decouple Microservices as much as possible. You can use design patterns for common problems. And saga for transactions management. And constraint can be put on db individual levels. Rest through code 👍
very nice explanation! thank you for soo much effort!!
Thanks 🙂🙂
Such detail video,kudos to your effort.
Thanks
Amazing content....please bring some more videos on Eureka...and plz bring videos on Kafka messaging system....that will help us alot❤️
We will scale up this series to kafka, kubernetes n much more 👍👍
Shared it to different groups as well👍
Thanks Akhouri. 🙏🙏 it helps 👍👍
It's Solid....Thank you...
@code Decode, could you please tell me how did you integrate the workbench with Spring tool?
Why is my EurekaServer starting Tomcat on port 8080 and not 8761 when I run on Eclipse but while running on STS Tomcat is initialized on port 8761
?
Hi...your videos are very nice...Can you please do a project on java, springboot, PostGRESql and MyBatis Framework....even a small one will do ...Thanks
Thanks for making such an effort😊
👍👍🙂🙂
Hi, thank you so much for the video. Can you please walk us though the working environment? How to set up eclipse and data base ? Because it didn't work the same way for me and I'm stuck
I tried implementing the same code but some how for me the CITIZEN-SERVICE application is not getting started when I run the application. Can you tell why this might be happening. I can see in logs that the EurekaServerApplication is getting started but there is no log saying that the CitizenServiceApplication is getting started.
Thank you so much for this video :)
You are welcome!
Hey, Thank you so much for this great content. How to get this database plugin in sts ?
Hey, Code Decode team. how are you creating SQL database in the same IDE? Can you please share the details?
really superb content,Thank you
Thanks
Must needed for me as I recently switched and new product is using mocroservice and Eureka. Like for part 1 is missing in description
ua-cam.com/video/nElpCWmpSew/v-deo.html
Great learning for me thanks a lot. However I have a doubt,What is the use of feign client then ?
Please add few more videos on the concept like
Vertical and horizontal scalling.
PCF
F5
Load balancer.
great explanation. thanks
You are welcome!
@codedecode Thank you very much for such a great explanation . Lat week one of my friend suggested me your channel , i am keep on watching your videos and i can say that i am addicted to you in learning the things that i am already working on from last many years but without clarity in many topics in java, springboot and microservices.
I got one doubt in this particular Eureka configuration, i could not understand how the services (Eureka clients) are getting identified automatically in Eureka Server and could not relate it with my services in AWS . It will be so much helpful if you make me understand on this point please?
Thanks a lot for your kind words. True Eureka is confusing when it's deployed in cloud. We have created a full stack course with this Eureka configuration and working too
www.udemy.com/course/master-spring-boot-microservice-angular-with-k8s-cicd-aws/
Hope it helps
Getting so many "Nested mappings are not allowed in compact mappings" error in yml file. Is there any way to resolve those?
Thank you very much. 😊
🙂🙂👍👍
Facing problem with application.yml... error - nested mappings are not allowed in compact mappings. even though written evreything the same way..Please need help
Just one quick question how that DB navigator perspective is getting? Which Eclipse plugin need to be install? because by using the DB navigator new database is been created from within eclipse seems to be useful plugin
Right Gokul, it's dbeaver. You can get that from marketplace
Hey!! You're doing a great job. Your videos has cleared many concepts of mine. Can you tell me what is difference between dependency Eureka Server and Eureka Discovery Client?
Thanks Meghna. Eureak client registers itself to eureka server. While eureka server is a server who is having registries of multiple eureka clients. It's same as client servers.
Thank you so much for this video
🙂👍
Great explanation, very clear and useful , THANK YOU
can you please tell me just how to add 'database navigator' to STS4
You can find that in eclipse marketplace🙂 👍
Thanks for great tutorial mam. I think naming conventions can be improved a bit
Sure we will work on that 👍👍
Thanks for this video really helpful
Thanks Ganesh 🙂👍
Hi can anyone help why DB Table is not creating automatically when running CitizenService app even after creating the Entity properly under child package only and DB configurations are given properly in yml file
Your videos are really knowledgeable but one doubt regarding Eureka Client I have, you mentioned that @EnableEurekaClient is deprecated it will be fine if we have spring-boot-starter-netflix-eureka-client dependency in pom and if we have application name in application.yml file so are the below properties being set to true in application.yml are also not required for eureka client
eureka:
client:
fetch-registry: true
register-with-eureka: true
It's by default true
In 56:40 you have checked listOfCitizen with a shortcut click. How can I do same by using Intellij. I want to check as you checked. Please reply
Thank you so so much mam.
You are welcome Deepak.....
Really helpful for me
Thanks
Great Job
Thanks Tanveer 👍👍
Thank you so much 🙏
🙂👍
HI, can you share please link to video having mysql db installation and connection with spring boot here
Hi Team,
Can you let me know which version of spring cloud is compatible with spring boot version of 2.1.9.RELEASE as I am not able to find it anywhere.
Every video I watch I am amazed by your Explanations. Please can i know what is Data base navigator(plugin / any other) you are using at STS. Its very nice and simple learn ...
Thanks🙂🙂. It dbeaver you will get it in eclipse marketplace.
@@CodeDecode thank you
nice video ma'am
Thanks
Getting this error, and the service is not getting registered to Eureka Server, any idea?
Failed to start bean 'eurekaAutoServiceRegistration'; nested exception is java.lang.NullPointerException
Could you please let me know how to add SQL Editor which you are using into STS4
Well done!
Thanks Vishal 🙂👍
@codeDecode when i have started my eureka server and open the eureka dashboard i can see my eureka server under the - Instances currently registered with Eureka as Unknown, could you please tell me why i am having that ?
Same query even I have...Eureka server is showing registered for me as well.
Thanks 🙏
you're welcome
Thanks for such meaningful explanation..!! how in different environments we store database passwords while connecting to microservices? we should not hardcode password then how we should do that?
ua-cam.com/play/PLyHJZXNdCXsdXxY8wupiLenux2Yafn1lN.html
Great 👍
Thanks