Microservices Tutorial example using Spring boot with Eureka |Microservices Spring boot Eureka
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 : kzread.info?...
Linkedin : / codedecodeyoutube
Instagram : / codedecode25
#microservices #codedecode #MicroservicesImplementationSpringbootEureka #java #microserviceExampleUsingEureka
Пікірлер: 348
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.
@Ktx6
3 жыл бұрын
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.
@Ktx6
3 жыл бұрын
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.
@CodeDecode
3 жыл бұрын
Sure Kartik, we will cover it all 👍👍
@karthikeyanrm3446
3 жыл бұрын
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.
@CodeDecode
3 жыл бұрын
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.
Thank you so much for this great content. Really appreciate the way you explain concepts and make them understand very quickly! Thanks again :)
@CodeDecode
2 жыл бұрын
Thanks a ton Anuradha 🙂👍
@dhanushh5828
Жыл бұрын
hi anuradha
Such a great content.. I tried many resources in KZread 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 😊
@CodeDecode
3 жыл бұрын
Thanks Pal 👍🙏. Sure we will try to upload rest topics as soon as possible 👍👍
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!!
@CodeDecode
2 жыл бұрын
Thanks a lot 🙂🙂sure we will put more such videos. Can u please translate last line for me?
@manjunathkallole7308
Жыл бұрын
@@CodeDecode Last line is Thank you so much
Amazing tutorial, precise and straight to the point... Thank You so much 😊
@CodeDecode
2 жыл бұрын
Thanks 🙂👍
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 👍
@CodeDecode
3 жыл бұрын
Thanks Karthikeyan. We will upload soon 👍👍
You are doing this great for us. lots of Thanks. Please cover API gateways, fault tolerance and centralized logging in as early as possible.
@CodeDecode
3 жыл бұрын
Sure Rohit 👍👍
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.
@CodeDecode
3 жыл бұрын
Sure Arka, we will upload that soon 👍👍
Best teaching skill.. whenever having doubt while doubt.. next few minutes video is clearing it..
@CodeDecode
3 жыл бұрын
Thanks Kasi. We are glad to know that 🙂🙂👍👍keep leaving keep growing 👍👍
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 😀😀😀...
@CodeDecode
3 жыл бұрын
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 🙏🙏
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.
@CodeDecode
2 жыл бұрын
Thanks a tonn Utkarsh 🙂👍
such a great explanation. please bring more videos on spring microservices ❤️❤️
@CodeDecode
3 жыл бұрын
Sure Neeraj 👍👍
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.
@CodeDecode
2 жыл бұрын
Thanks Senthil 🙂👍
@senthilmurugangsm
2 жыл бұрын
@@CodeDecodeIs API gateway video uploaded?
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.
@CodeDecode
2 жыл бұрын
Thanks for the nice words and all the very best for your future
@tirmuladhanikonda699
2 жыл бұрын
@@CodeDecode thank you so much mam
@reddaboinavasista4166
6 ай бұрын
Truee. After watching this playlist, I got the confidence that I can clear interviews on development.
Thank you so much for such a great effort you put on all videos. i cant admire enough. please keep it up.
@CodeDecode
Жыл бұрын
Thanks Bhavik 🙂👍
Really helpful Ma'am . Thank You . Kindly complete API Gateways, Logging , Fault Tolerance , Circuit breakers and other important topics practically if possible . Good day 🙂
@CodeDecode
3 жыл бұрын
Sure Shweta, we will scale this example to all these topics 👍👍
Loved the content, explanation and what a clarity ! ❤️
@CodeDecode
2 жыл бұрын
Thanks raunak
This is a pure 916 content.Please continue making microservices related videos.
@CodeDecode
2 жыл бұрын
Thanks sujith....
Great explanation, I’m just watching ur videos for all minute details . Thanks for this info
@CodeDecode
10 ай бұрын
👍👍 hope it helps Nandini
Very useful content about how ms communication should be handled. Thanks for the video and efforts taken.
@CodeDecode
2 жыл бұрын
Thanks a lot Khemraj 🙂👍
1 hour 200 views, 1 day 200k, 1 month 2M 😃 Thanks for the practical content
@CodeDecode
3 жыл бұрын
Thanks 🙏
Thank you so much for this video. Eagerly waiting for the other parts..
@CodeDecode
3 жыл бұрын
Sure Saumya we will upload that soon👍👍
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.
@CodeDecode
11 ай бұрын
Thanks a lot Mounika 😊👍❤️❤️
You are explained in Such a easy and simple manner subscribed the channel. Kudos to your work
@CodeDecode
Жыл бұрын
Thanks a lot😊😊
what an explanation madam love the the way u r doing, even it is one hour not even diverted one second
@CodeDecode
2 жыл бұрын
Thanks Sekhar 👍🙂
Forever grateful...Best teacher ever
@CodeDecode
2 жыл бұрын
Thanks a lot Srikanth 🙂👍
Perfect content helping me a lot to upskill. thanks for the video
Great tutorial and excellent💯👍👏 explanation. Helped me a lot to understand about MicroServices. Eagerly Waiting for next remaining parts.
@indrajeetkadam4763
3 жыл бұрын
You are doing a Great Job for everybody. God bless you🙏😊
@CodeDecode
3 жыл бұрын
Thanks Indrajeet 🙏🙏
@CodeDecode
3 жыл бұрын
This means a lot Indrajeet 🙏🙏thanks for the motivation 👍👍
one of the best tutorial I found on youtube.... Great
@CodeDecode
2 жыл бұрын
Thanks a lot Suraj 🙂👍
Every video I watch I am amazed by ur Explainations... Great work mam...👍👍👍
@CodeDecode
2 жыл бұрын
thanks ganpati for appreciation
Great explanation, started going through all videos Thanks.
@CodeDecode
2 жыл бұрын
Thanks Feroz khan 👍🙂
super explanation... you should be more recognized .... keep up the good work...
@CodeDecode
2 жыл бұрын
Thanks tapan for the nice words
Nice video and project implementation, keep up uploading more videos. Unfortunate that there are less likes.
@CodeDecode
2 жыл бұрын
Thanks for the nice words sandeep....
Great explanation 👍👍, waiting for the next part💕...
@CodeDecode
3 жыл бұрын
Sure poonam videos are lined up....
Awesome work . Appreciate your patience 👍🏻
@CodeDecode
2 жыл бұрын
Thanks 👍
Thank you for posting microservices video it is really helpful thank you
@CodeDecode
Жыл бұрын
Thanks Vengat 👍
Great video. Clear explanation 👌 Expecting more videos..
@CodeDecode
3 жыл бұрын
Sure👍 thanks 👍👍
We are waiting for the Next part series, Thank you.
@CodeDecode
3 жыл бұрын
Sure 👍👍
Awesome! Thanks for creating such a knowledgeable video ... Keep it up👍👍😊
@CodeDecode
3 жыл бұрын
Thanks karishma
It was good and easy to understand, please make more videos on Microservices in details
@CodeDecode
3 жыл бұрын
Sure next video are lined up....
nice video ma'am
@CodeDecode
Жыл бұрын
Thanks
Very Nice Tutorial Helpful and easy to understand .👌👌
@CodeDecode
2 жыл бұрын
Thanks Sajal 👍👍
Excellent sister 👍🙏 Make more videos on spring boot and please make project on spring boot including front-end and back-end Btw Great explanation 👌🙏
@CodeDecode
2 жыл бұрын
Sure, we are planning to do that really soon 👍👍
Thank you so much for this video :)
@CodeDecode
3 жыл бұрын
You are welcome!
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?
@CodeDecode
Жыл бұрын
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 👍
Excellent video! Thanks for the explanation.
@CodeDecode
Жыл бұрын
🙂👍
Hi, Awesome content, clear demonstration . Thank you.
@CodeDecode
Жыл бұрын
Thanks Pragya 🙂🙂👍
very nice explanation! thank you for soo much effort!!
@CodeDecode
2 жыл бұрын
Thanks 🙂🙂
Thanks for making such an effort😊
@CodeDecode
3 жыл бұрын
👍👍🙂🙂
Such detail video,kudos to your effort.
@CodeDecode
2 жыл бұрын
Thanks
Amazing content....please bring some more videos on Eureka...and plz bring videos on Kafka messaging system....that will help us alot❤️
@CodeDecode
3 жыл бұрын
We will scale up this series to kafka, kubernetes n much more 👍👍
@akhouritushar
3 жыл бұрын
Shared it to different groups as well👍
@CodeDecode
3 жыл бұрын
Thanks Akhouri. 🙏🙏 it helps 👍👍
thanks a lot love the way you explained this
@CodeDecode
6 ай бұрын
Thanks Tejas 😊
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?
@CodeDecode
2 жыл бұрын
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 these informative videos with a great explanation ...can you make a video on deploying this entire microservice into AWS using Lambda and API gateway
@CodeDecode
2 жыл бұрын
Sure Suryadoy, AWS deployment is in our pipeline 👍🙂
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...
@CodeDecode
Жыл бұрын
Sure Manraj. We will work on noise issues 👍👍 thanks for letting us know. Means a lot Man 👍👍🙂
It's Solid....Thank you...
Must needed for me as I recently switched and new product is using mocroservice and Eureka. Like for part 1 is missing in description
@CodeDecode
3 жыл бұрын
kzread.info/dash/bejne/oHmg0qWQndO5ldo.html
Thank you so much for this video
@CodeDecode
2 жыл бұрын
🙂👍
Easy tutorial and clear..Keep it up
@CodeDecode
11 ай бұрын
Thanks a lot
great explanation. thanks
@CodeDecode
2 жыл бұрын
You are welcome!
Great explanation, very clear and useful , THANK YOU can you please tell me just how to add 'database navigator' to STS4
@CodeDecode
2 жыл бұрын
You can find that in eclipse marketplace🙂 👍
Excellent and clear explanation
@CodeDecode
8 ай бұрын
Thanks
Thanks for this video really helpful
@CodeDecode
2 жыл бұрын
Thanks Ganesh 🙂👍
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
really superb content,Thank you
@CodeDecode
11 ай бұрын
Thanks
Well done!
@CodeDecode
2 жыл бұрын
Thanks Vishal 🙂👍
This is really helpful. Thankyou
@CodeDecode
4 ай бұрын
You're welcome!
Thank you so so much mam.
@CodeDecode
3 жыл бұрын
You are welcome Deepak.....
@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?
@CodeDecode
10 ай бұрын
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
Thank you so much 🙏
@CodeDecode
2 жыл бұрын
🙂👍
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 ...
@CodeDecode
Жыл бұрын
Thanks🙂🙂. It dbeaver you will get it in eclipse marketplace.
@venkateshyembulur3693
Жыл бұрын
@@CodeDecode thank you
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.
Hey, Code Decode team. how are you creating SQL database in the same IDE? Can you please share the details?
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
Good and simple one..easy to understand
@CodeDecode
11 ай бұрын
Thanks
Please add few more videos on the concept like Vertical and horizontal scalling. PCF F5 Load balancer.
@code Decode, could you please tell me how did you integrate the workbench with Spring tool?
Great Job
@CodeDecode
3 жыл бұрын
Thanks Tanveer 👍👍
Hey, Thank you so much for this great content. How to get this database plugin in sts ?
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
@CodeDecode
2 жыл бұрын
Right Gokul, it's dbeaver. You can get that from marketplace
Hello mam, Thanks for the beautiful video. I am Java developer with 8 years exp and I find your videos useful. But in this video, I am not understanding how to create database. I am not sure will you reply to me since its old video but still I am struck in this point. Please explain me how to connect to db or how to create db using STS. Thanks in advance.
@CodeDecode
2 ай бұрын
Hi Santosh. Please go to eclipse market place and search dbeaver. Install that plugin and you are good to go
Thanks for great tutorial mam. I think naming conventions can be improved a bit
@CodeDecode
Жыл бұрын
Sure we will work on that 👍👍
Thank you very much. 😊
@CodeDecode
Жыл бұрын
🙂🙂👍👍
Great learning for me thanks a lot. However I have a doubt,What is the use of feign client then ?
@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 ?
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?
@CodeDecode
3 жыл бұрын
kzread.info/head/PLyHJZXNdCXsdXxY8wupiLenux2Yafn1lN
Thanku so much
@CodeDecode
3 жыл бұрын
👍👍
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
@CodeDecode
2 жыл бұрын
It's by default true
Great 👍
@CodeDecode
9 ай бұрын
Thanks
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.
Great 👏
@CodeDecode
2 жыл бұрын
Thanks .....
Hi Thank you for amazing video . can you cover Mockito test cases for all crud operation for controller and service class that will be very helpful
@CodeDecode
2 жыл бұрын
Sure Ganesh we will do that 👍🙂
@ganeshahiwale4899
2 жыл бұрын
Please awaiting for your video of mockito test cases for controller and service class
Really helpful for me
@CodeDecode
Жыл бұрын
Thanks
great video!
@CodeDecode
2 жыл бұрын
Thanks Harish 🙂👍
Facing problem with application.yml... error - nested mappings are not allowed in compact mappings. even though written evreything the same way..Please need help
Please cover APIGateway,Circuit breaker,Cloud depluyment also.
@CodeDecode
3 жыл бұрын
Sure Phani 👍👍we will do that
Getting so many "Nested mappings are not allowed in compact mappings" error in yml file. Is there any way to resolve those?
Can you please make video on how to write test cases using Junit, Mockito for microservices 🙂👍
@CodeDecode
3 жыл бұрын
Sure Karishma 👍👍