No video

Spring Boot Microservices Project Example - Part 3 | Service Discovery

  Рет қаралды 67,698

Programming Techie

Programming Techie

Күн бұрын

Spring Boot Microservices Project Example - Part 3 | Service Discovery
Source Code
github.com/Sai...
⭐️⭐️You can check out other Full Stack Project Oriented Tutorials in my Channel ⭐️⭐️
Spring Data MongoDB Tutorial: • Spring Boot Testing Tu...
Spring Boot Testing Crash Course Tutorial: • Spring Boot Testing Tu...
⭐️⭐️ You can follow me on Social Media through the below Links⭐️⭐️
Twitter: / sai90_u
Blog: programmingtec...
Dev.to: dev.to/saiupad...
Facebook Page: / programmingtechie

Пікірлер: 102
@ProgrammingTechie
@ProgrammingTechie 6 ай бұрын
NOTE: This tutorial is using outdated as it's using Spring Boot 2, I am working on an update for this tutorial. Please refer to the github repo, whenever you are facing any issue with the dependency or compilation errors: github.com/SaiUpadhyayula/spring-boot-microservices
@user-pv4bb2ib8m
@user-pv4bb2ib8m 6 ай бұрын
can you please tell me which jdk you were using in this ,version and name?
@pratikmondal9301
@pratikmondal9301 Жыл бұрын
For those who are trying to follow the code, life-saving advice is please follow the same version as the video or you have to find dependency error, Example: EnableServiceClient option is not needed now, and you have to write spring cloud and eureka client dependency in every client's(3) pom file.
@mcnri
@mcnri 10 ай бұрын
After spending two hours, finally. Thanks bro.
@richard8413
@richard8413 7 ай бұрын
​@@mcnriWhat did you do? Can I see ur code?
@aswinvishnua8330
@aswinvishnua8330 6 ай бұрын
Thanks, Just a note for others. you may need to match the version of spring boot starter parent in the root pom.xml.
@pubgmi1236
@pubgmi1236 5 ай бұрын
​@@mcnribro can u help me please for that code! Spent hours but still didn't get why getting errors
@natnaelsisay1424
@natnaelsisay1424 3 күн бұрын
I started watching your serious and am loving it .. thank you for taking your time to compile this master piece
@deadsoul7702
@deadsoul7702 Жыл бұрын
I get overwhelmed, there are a lot of things to learn. Thanks for making such videos.
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
Take it step by step, don't rush it, type the code along with me and you should be fine :)
@Emerson-mv4hm
@Emerson-mv4hm 2 жыл бұрын
You are amazing Sai! Thanks a lot for that! Those videos were exactly what I needed to answer all the questions I had about microservices architecture! Thanks a lot!
@surendrareddyseelam9757
@surendrareddyseelam9757 2 жыл бұрын
You are too good at explanation, Thanks much brother 🙏
@vaishnavepranav7394
@vaishnavepranav7394 Жыл бұрын
PS : @EnableEurekaClient is not required for newer versions as it got deprecated. Simply adding the eureka-client dependency is suffice.
@studyingit9762
@studyingit9762 10 ай бұрын
Thanks!
@shaalam9260
@shaalam9260 10 ай бұрын
Need to add @EnableDiscoveryClient instead
@manojjeenu
@manojjeenu 2 ай бұрын
Thanks for the information. this comment made my day.
@alicanli5890
@alicanli5890 2 жыл бұрын
You are so good. Maybe you can add sonarqube to this project so that we can see how many avarages it passes for a test class.
@ProgrammingTechie
@ProgrammingTechie 2 жыл бұрын
That would be better to create as a separate series, but it's a good idea I will take a note of that. To create a complete CI/CD pipleine
@divyavegoti4609
@divyavegoti4609 4 ай бұрын
This whole series is so awesome. Thanks buddy
@mohammedabbutalha2793
@mohammedabbutalha2793 4 ай бұрын
did the service-discovery work for you with multiple instances of inventory-service?
@senoremc4628
@senoremc4628 Жыл бұрын
The best teacher in microservices without a doubt! I have a question please, does anyone know how I can allow the execution of multiple instances of a microservice using Eclipse, to visualize it in eureka? Thank you very much!
@harshitjain9943
@harshitjain9943 Жыл бұрын
Hi, I recently tried in my eclipse just create multiple instances and start a service with a default port, then run another instance by assigning server.port to 0.
@ErLakhan
@ErLakhan Жыл бұрын
would have liked video 10 times but have only one button. Thank you :)
@sagarsri4143
@sagarsri4143 2 жыл бұрын
Good Explanation ✌
@azizerel
@azizerel Жыл бұрын
Great Video !
@IliaSv-tw3dg
@IliaSv-tw3dg Жыл бұрын
Thank you. It's great
@adityagautam1217
@adityagautam1217 6 ай бұрын
top notch content !
@az910
@az910 2 жыл бұрын
Thank you so much 🙏
@manugalaxy14
@manugalaxy14 Жыл бұрын
It seems like @EnableEurekaClient is deprecated and got removed. I don't have access to that annotation and I am using spring cloud 2022.0.0. According to StackOverflow, its sufficient to add the dependency to the pom.xml. No need to annotate with @EnableEurekaClient anymore.
@rohitverma1031
@rohitverma1031 3 ай бұрын
thanks
@melihcankilic5918
@melihcankilic5918 Жыл бұрын
very good
@zakharbondarev7814
@zakharbondarev7814 Жыл бұрын
14:32 @EnableDiscoveryClient is required annotation now.
@aayushisingh3280
@aayushisingh3280 Жыл бұрын
thanks, was looking for this
@vivianfreitas9726
@vivianfreitas9726 4 ай бұрын
caraca KKKKKKKKKK Cada vídeo é rico em conteúdo.
@AdarshKumar-xh1ie
@AdarshKumar-xh1ie 4 ай бұрын
No servers available for service: inventory-service, LoadBalancer does not contain an instance for the service inventory-service I am getting the above issue while calling to inventory-service. however when i hardcoded the url then it worked fine
@user-ty8bg6wb5x
@user-ty8bg6wb5x 4 ай бұрын
Hi, I have a question about the discovery server. How does the client know the port of the discovery server? It's not the same issue as service discovery itself ? Thanks, this is very informative!
@Cbastiian
@Cbastiian 6 ай бұрын
Thanks you so much!!!!
@niyasmanzoor2648
@niyasmanzoor2648 Жыл бұрын
Hi @Programming Techie ... Thanks for the tutorial .. can u pls share a tutorial describing server side load balancing ?
@DuongTran-zh6td
@DuongTran-zh6td 5 ай бұрын
thank you
@bhavyajain2049
@bhavyajain2049 Жыл бұрын
Instead of service discovery or registry, can we use AWS application Load balancer by using the load balancer Url in order service ?
@hashirventhodi
@hashirventhodi 5 ай бұрын
suprrr
@eddiebongo4870
@eddiebongo4870 Жыл бұрын
you're so good
@shivammallik2359
@shivammallik2359 10 ай бұрын
i am unable to run multiple instance of my inventory service on running second instance the first instance restart and changes its port no. how do i fix this?
@AxelWolf26
@AxelWolf26 7 ай бұрын
When I try to order "iphone_13_red" through the order service it thorws internal server error instead of our Exception.Also once I order "iphone_13" and order is placed successfully then it show the same for whatever order I place.Anyone got any solution for this?
@dineshcity
@dineshcity Жыл бұрын
@ Loadbalanced is not working for me. Inventory service has been created with 2 inatances. But not working
@user-ky1pp3cn5y
@user-ky1pp3cn5y 5 ай бұрын
Hey could you solve this ?
@sunnyneo6186
@sunnyneo6186 2 жыл бұрын
My Eureka dashboard only shows only 1 Availability Zones, even though i am running more than 1 instances of inventory-service. Any Idea Why?
@vinayakchaurasia7215
@vinayakchaurasia7215 Жыл бұрын
Hey Sunny, Could you let me know if you were able to resolve this issue? If Yes, how did you fix it?
@gayannanayakkara8386
@gayannanayakkara8386 Жыл бұрын
@@vinayakchaurasia7215 Try below and worked for me. its a bug in Eureka. This will give unique id for each instance eureka.instance.instanceId=${spring.application.name}:${random.value} eureka.instance.prefer-ip-address=true
@salavatislamov5957
@salavatislamov5957 Жыл бұрын
@@gayannanayakkara8386 thanks
@juancaos01
@juancaos01 Жыл бұрын
@@gayannanayakkara8386 Thank you!, you save me
@aayushisingh3280
@aayushisingh3280 Жыл бұрын
thank you so much!
@monalanjewar6202
@monalanjewar6202 6 ай бұрын
My Discovery service is not starting on port 8761, its saying its already in user
@vongan3788
@vongan3788 Жыл бұрын
22:46 when coding to call API (uri), you give the service name but when testing in postman, why do you write the IP address of the service but not service name? (26:39)
@akshatbhatawdekar4487
@akshatbhatawdekar4487 9 ай бұрын
I am facing a problem at this step could you help me out ?
@oleksandr.tereshchenko
@oleksandr.tereshchenko 8 ай бұрын
For tests, we call the order-service with the host and port. The order-service itself sends a request to the inventory-service via the service name (no port)
@vivianfreitas9726
@vivianfreitas9726 4 ай бұрын
multiple Instance doenst work with me
@user-ue3ot5fn9o
@user-ue3ot5fn9o 9 ай бұрын
i got the issue: Unable to start web server, when use @EnableDiscoveryClient, please help me. thanks
@ayyappank9163
@ayyappank9163 2 жыл бұрын
@Programming Techie When can we expect the next part? And how many parts you are planning to release in this series?
@mdmhas09
@mdmhas09 2 жыл бұрын
the order service for me is not load balanced though I have load balanced annotation on webclient configuration. I am using java 11 for the project
@younesshabach3915
@younesshabach3915 Жыл бұрын
Same here can u please explain what happenning ?
@hamzabouzidi470
@hamzabouzidi470 Жыл бұрын
@@younesshabach3915 I had the same error and I fix it by adding this in application.properties eureka.instance.prefer-ip-address=true
@younesshabach3915
@younesshabach3915 Жыл бұрын
@@hamzabouzidi470 yes that what i found on internet and that fix the issue thank u
@programmingwithakshay
@programmingwithakshay Жыл бұрын
The eureka dashboard isn't loading up for me, any idea how can i fix this?
@programmingwithakshay
@programmingwithakshay Жыл бұрын
I believe Eureka client is not getting started, idk why!
@saidurgasrividyaupadhyayul4675
@saidurgasrividyaupadhyayul4675 Жыл бұрын
will this @LoadBalanced annotation internally uses Ribbon to do the load balancing?
@ProgrammingTechie
@ProgrammingTechie Жыл бұрын
It uses spring cloud loadbalancer :)
@user-mb6hx4uf8p
@user-mb6hx4uf8p 2 жыл бұрын
Will Eureka be removed next? Docker Swarm will be used?
@ProgrammingTechie
@ProgrammingTechie 2 жыл бұрын
We use Kubernetes
@user-uw8eq1xw3h
@user-uw8eq1xw3h 8 ай бұрын
Hi Sir !! @LoadBalanced is not working . I am getting same error after adding the annotation as well . I added all the code changes as in video . Can you please help me to resolve the issue
@richard8413
@richard8413 7 ай бұрын
Have you found the solution yet?
@SanthoshKumar-fw4dz
@SanthoshKumar-fw4dz 2 ай бұрын
@Bean @LoadBalanced public WebClient.Builder webClient() { HttpClient httpClient = HttpClient.create().resolver(DefaultAddressResolverGroup.INSTANCE); return WebClient.builder() .clientConnector(new ReactorClientHttpConnector(httpClient)); }
@mancave_online
@mancave_online Жыл бұрын
Hello and thank you for the wonderful tutorial! I came up with a problem that have no errors. Seems like the Eureka is not initializing, this does not cause any error in the app but im getting a whitelabel 404 on the eureka dashboard. I tried several solution but nothing worked so far. Do you have any idea how i could resolve this one? Thank you very much @Programming Techie
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
What is the spring cloud version you are using]
@mancave_online
@mancave_online Жыл бұрын
@@vishalghanghav748 2021. 0.5 cloud version, 3.0.0 spring version, jdk 17
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
@@mancave_online Either use exactly same version as him .Or use new 2022.0.0-RC2 version .If using new add repositories section in Parent project pom.xml
@vishalghanghav748
@vishalghanghav748 Жыл бұрын
One more thing ,Tell me your name in English and let me know if it got resolved after this
@mancave_online
@mancave_online Жыл бұрын
@VISHAL GHANGHAV OK I will try the solution with the newer version as the same version with the video didn't work and I will let you know ofc, my name at English is Vagelis (it's a Greek name and I don't have an exact English translation)
@jasper5016
@jasper5016 2 жыл бұрын
Hey Sai, is this the same course that you published a few months ago?
@ProgrammingTechie
@ProgrammingTechie 2 жыл бұрын
No this is a remake, with more in depth explanations. I will include docker and Kubernetes also in this series.
@abhinashpandey9854
@abhinashpandey9854 2 жыл бұрын
@@ProgrammingTechie remake 😀😀
@vivianfreitas9726
@vivianfreitas9726 4 ай бұрын
São 56k de views para 763 de likes.....
@username0344
@username0344 5 ай бұрын
Please, dont use mechanical keyboard in videos. It's so annoying.
@preetisharma9859
@preetisharma9859 5 ай бұрын
I'm getting this issue xFailed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project product-service: Fatal error compiling: invalid flag: --release -> [Help 1] while running the project can anyone help
@deyanshotev3137
@deyanshotev3137 Жыл бұрын
For all who have been stuck around EnableClient annotation, it's now @EnableDiscoveryClient
@oumaimalaamrani9404
@oumaimalaamrani9404 Жыл бұрын
Thank you so much
Spring Boot Microservices Project Example - Part 4 | API Gateway
28:03
Programming Techie
Рет қаралды 83 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 159 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 188 МЛН
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 179 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 24 М.
Database Tuning at Zerodha - India's Largest Stock Broker
44:37
Perfology
Рет қаралды 130 М.
Programming's Greatest Mistakes • Mark Rendle • GOTO 2023
51:24
GOTO Conferences
Рет қаралды 89 М.
🚀 Apache Kafka Crash Course With Spring Boot 3.0.x | @Javatechie
4:50:16
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 159 МЛН