Тёмный

Designing Microservices using Spring Boot, Spring Cloud, Eureka and Zuul | #2 | Tech Primers 

Tech Primers
Подписаться 135 тыс.
Просмотров 81 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 195   
@GauravSharma-wb9se
@GauravSharma-wb9se 6 лет назад
Dude.....You have cleared my all doubts almost by this series of videos on this application, I was struggling a lot from long to learn micro service complete flow end to end. Thanks for your great work...god bless you :)
@TechPrimers
@TechPrimers 6 лет назад
Thanks Gaurav
@dhanyakumargonageri4259
@dhanyakumargonageri4259 5 лет назад
@@TechPrimers Man nice explanation.
@playtochat5917
@playtochat5917 5 лет назад
HI gaurav are u working on micro services now? i am strucked ann issue while calling the yahoo api for getting stock quotes. The problem is like when we are passing a quote like "GOOG" to get method of Yahoo finance i am getting index out of bound exception. i am not sure why it is happening.Could you please help me out?
@sarojsahoo8763
@sarojsahoo8763 4 года назад
@@playtochat5917 Is this resolved ! Make a core java application and try getting stock object
@playtochat5917
@playtochat5917 4 года назад
@@sarojsahoo8763 it's been seven months ji. Any way thanks for the reply..it got resolved 😊. Now I want to learn react . Can u suggest me a good source?
@meenakshisundaram3231
@meenakshisundaram3231 4 года назад
To be really honest: Initial mindset: 1. I wasn't interested about 1 hour video 2. I ran thru the comments that music is little problematic. After seeing both videos: 1. Wow. 1 and 1/2 hours went like a breeze with your cool way of doing things 2. Music was kept that interesting factor rolling on, what's next you would make us know. Great Tech Primer. Thank you 🙏💕
@TechPrimers
@TechPrimers 4 года назад
Thanks buddy. Glad it’s helpful
@sachinghumbre7835
@sachinghumbre7835 5 лет назад
Both videos are very nice. I think the way you are explaining is very good. What I liked most is that you are not only discussing particular topic but also dealing with exceptions occurring during execution. This way we learn quickly and confidently. Many thanks !!! Keep it up !!!
@Premkumar-ln7gt
@Premkumar-ln7gt 6 лет назад
i have just started searching about microservices and i must say your the best i have ever seen .great videos..keep going .it really help full in understanding the technologies which we never work.
@swaprks
@swaprks 6 лет назад
This is the best tutorial I have gone through. Each and every flow is well explained. This is amazing work. If you can add the spring security login and registration module to it, that would be complete package.
@Teluguboygaming245
@Teluguboygaming245 5 лет назад
Good and Nice explanation to learn micro service complete flow end to end.Thanks for provide this with example.
@sonalkesarwani7234
@sonalkesarwani7234 5 лет назад
its a great tutorial covering all aspects. Just a constant issue that I have faced starting from its first part is that the audio moves on but the video doesn't catch up with it. I had to pause and start again from a previous second to match the video to its audio. Else its very well explained.
@vinodguptamummidisetti7702
@vinodguptamummidisetti7702 5 лет назад
Bro... Thanq so much... Now I clearly understood... How to work with microservices
@kavithayadav2809
@kavithayadav2809 5 лет назад
I think the way you are explaining is very good.plz provide the microservices designpatterns also
@TechPrimers
@TechPrimers 5 лет назад
Yes Kavitha. I have done few already. follow the Microservices playlist. I will be doing more in the coming weeks
@sbylk99
@sbylk99 5 лет назад
The best tutorial of MS, solve most puzzles. Although I don't think your MS communication codes are efficient :)
@arjunasettymurahari2568
@arjunasettymurahari2568 5 лет назад
This is best video on cloud and micro services .. nice explanation and live code as well. Awesome .. Thank you for your great effort.
@dinakerdeshini1367
@dinakerdeshini1367 5 лет назад
Best video on Microservices on entire RU-vid platform
@TechPrimers
@TechPrimers 5 лет назад
Thanks Dinaker
@srikanthbk5604
@srikanthbk5604 5 лет назад
This is very useful and thanks, kindly upload the same tutorial without back ground music it is very very disturbing especially the first video.
@anusaxena1621
@anusaxena1621 5 лет назад
I was trying to find out a well explained video now I got it when I saw this one. Thanks for sharing wonderful information.
@samiraghayarov6898
@samiraghayarov6898 5 лет назад
Thanks a lot for all of your clear explanations which help people to improve their skills , great job!
@krishnaiahkashaboina4207
@krishnaiahkashaboina4207 5 лет назад
This is excellent and very help full. Thank you for your effort. You have give so much knowledge about Micro service
@sudiptendupal7254
@sudiptendupal7254 6 лет назад
Hi Tech Primer, let me complement you first by saying "both the videos you posted on Micro services were simply superb". I am an AWS Architect who is learning Spring Boot from your lectures. Can you help me in resolving few questions on a complex AWS architecture diagram? I am looking forward to integrating AWS API-Gateway REST services with Spring Boot.
@vijaykumarbrahma-routhu473
@vijaykumarbrahma-routhu473 6 лет назад
Awesome tutorial buddy. It was very useful in understanding all the pieces involved. FYI... the yahooFinance API version mentioned in the tutorial was not working for me. When I changed it to 3.12.3 it worked for me.
@mohanvamsi007
@mohanvamsi007 6 лет назад
Thanks, it works when changed to 3.12.3
@knockjkeee
@knockjkeee 5 лет назад
Thank! This is the best in the open spaces of the site, the explanation is simple and clear Thank you!
@DeepakPandey-ij3bz
@DeepakPandey-ij3bz 6 лет назад
Thanks for the vedio. Very informative. Please upload vedio on transaction management in microservices showing 2 phase commit or sagas pattern.
@sathishraj1
@sathishraj1 6 лет назад
Great work of philantrophy ! Can you make live videos , so we can clear doubts online
@sammyzim
@sammyzim 6 лет назад
Thanks for this. Good crash course on micro services with excellent example architecture
@TechPrimers
@TechPrimers 6 лет назад
Thanks Sam. Glad that was useful
@jannu234
@jannu234 5 лет назад
You explained very nicely...... It cleared my all doubt Thanks a lot....
@rishirajsoni7262
@rishirajsoni7262 4 года назад
Thanks Tech primers, one of the best microservices video, given a clear picture.. I hve one doubt that hw to move this architecture on different environment i.e qc n uat
@TechPrimers
@TechPrimers 4 года назад
You can use profiles to control configurations n use CICD to deploy to the destination env
@AmitSingh-vb6oj
@AmitSingh-vb6oj 6 лет назад
Tech Primers you did amazing job with this nicely explained tutorials. Best wishes cheers.
@TechPrimers
@TechPrimers 6 лет назад
Thank you Amit
@niftymiller6057
@niftymiller6057 5 лет назад
Awesome ! :) and seriously rocking video. Just seeing part-1,2 of these videso clarified so much of my long pending doubts. keep up the good work.
@sanjaymodha3751
@sanjaymodha3751 6 лет назад
I have used yahoo finance api 3.14.0 version and added as a external dependency and then it works!
@jeroenj7494
@jeroenj7494 6 лет назад
hero!
@sarojsahoo8763
@sarojsahoo8763 4 года назад
Also we need to add @CrossOrgin annotation on Stock Resource methods in order to access the resources from a different origin
@bhavishyasoni7491
@bhavishyasoni7491 5 лет назад
Nice video dear, can you please share how we can scale up the services by creating the multiple instances of the db-service and stock-service??
@ajitkumargiri87
@ajitkumargiri87 6 лет назад
Thanks for these Informative videos. You have done a great job,it really helps me to understand the micro service and its implementation. Here if you can add the security for the REST service ,it will he great help?
@vedprakashmishra7535
@vedprakashmishra7535 5 лет назад
Good job . Jut add security also it will be very helpful.
@61Marsh
@61Marsh 6 лет назад
I Have learnt a ton from this series! Thanks mate
@ldyao
@ldyao 5 лет назад
excellent video! thank you so much for teaching me how to use spring cloud!
@yueranzhang2350
@yueranzhang2350 4 года назад
Very great and clear tutorial! Thx for ur help. Just one little question: what is the difference between Eureka and Zuul? It seems like both of them all have the mapping between service name and their IP address, and they both works like DNS server
@sivakumarchekuri
@sivakumarchekuri 6 лет назад
Excellent!!!!! Thanks Tech Primary for nice demo
@TechPrimers
@TechPrimers 6 лет назад
my pleasure siva. Glad that was useful
@maclovesgeet
@maclovesgeet 6 лет назад
Nice work. Thank you very much. Quick question on architecture. What is the purpose of separating Quote maintenance service and DB service. For me, it looked like a single domain providing Quote service with the persistence.
@TechPrimers
@TechPrimers 6 лет назад
yes you are right. I wanted to show the service registry with this example, hence split it further
@malam3958
@malam3958 3 года назад
Dude... you just did awesome!
@TechPrimers
@TechPrimers 3 года назад
Glad it's helpful
@sangeethavariath3124
@sangeethavariath3124 5 лет назад
Thank you. Finally got hold of something that I was looking for. Since its a two year old video, has anything changed w.r.t libraries etc. Would be great to know!
@vckumarvk
@vckumarvk 7 лет назад
your videos are really awesome. Thank you very much. You made the developer life easy. Really appreciate your effort. Do you have any video on how to deploy microservices, eureka and hystrix in cloud foundry or docker ? I saw you deploying helloworld in cloud foundry. If possible please create a video. Thanks again. Keep up the good work.
@vckumarvk
@vckumarvk 7 лет назад
I got it. I was able to deploy eureka server and client. But I was able to deploy only 2 apps due to memory issue. I would like to deploy at least 3, any idea how can we do it in free edition? Thank you.
@TechPrimers
@TechPrimers 7 лет назад
Thanks Vins. Glad that was helpful.
@TechPrimers
@TechPrimers 7 лет назад
I also had the same problem. Unfortunately, We cannot deploy more apps in the Trial Verion of PCF.
@upenderyarra2772
@upenderyarra2772 6 лет назад
Awesome demo , thanks to Tech Primers
@TechPrimers
@TechPrimers 6 лет назад
Thanks Upender
@steambassador
@steambassador 4 года назад
Thank you! this tutorial is gold!
@AkarKyaw1
@AkarKyaw1 5 лет назад
Thanks for sharing. It is very helpful and easy to understand.
@amardeeppunekar5373
@amardeeppunekar5373 5 лет назад
This is really useful and interesting video, thanks a lot, good work.
@hareeshs4177
@hareeshs4177 5 лет назад
good and explanatory. thanks for your efforts.
@ancellitto
@ancellitto 6 лет назад
Hi Ajay, thanks for this wonderful tutorial...it truly gave a holistic picture about microservices! BTW is running micro services that resource intensive? and what machine config would you recommend to check this out..I am currently using a virtual machine for all my personal development..do you think that would suffice?
@TechPrimers
@TechPrimers 6 лет назад
Hi Ancel, very good question. Yes. It's bit resource intense since you will be running multiple JVMs. If you have a 8Gb VM let's say, it's more than enough to run 5 to 6 Microservices which hav 1gb memory each. However if you can stil manage with 512mb, its more than enough. I don't know how does it fair with AWS w.r.t cost. Also since these are Microservices you don't a single VM. Instead u can hav multiple VMs and can scale whenever you need them
@selvibr394
@selvibr394 6 лет назад
Very good info about microservice design
@mallen8557
@mallen8557 6 лет назад
Excellent explanation. Thanks!
@GauravSharma-wb9se
@GauravSharma-wb9se 6 лет назад
can you please make video on topic i.e. when to go for messaging queue(Kafka) and when we should go for direct call using rest template ?
@04nikunj
@04nikunj 6 лет назад
Thank you for the video, one doubt why have you hardcoded url in zuul. Why cannot we use the application names as we did in the stock-service for using the db-service?
@SrikarReddyAc
@SrikarReddyAc 7 лет назад
Nice video. Can we fire up multiple instances of Stock Service? so that when one service is down or there is too much load then the other will respond. If so, Is there an additional configuration that needs to be setup? What is the optimal way of handling the situation instead of sending error messages to the user?
@TechPrimers
@TechPrimers 7 лет назад
Yes. You need to use Ribbon for load balancing in that case. Yes. there is additional config. For the error handling, you can use Hystrix and return empty response or something similar to make sure error is not propagated to the user
@vikasmessi
@vikasmessi 6 лет назад
Thanks a lot for the video. Really instructive. God bless!
@playtochat5917
@playtochat5917 5 лет назад
Hi Ajay. I have watched the part 1 and its really really helpful in this part i am strucked an issue while calling the yahoo api for getting stock quotes. The problem is like when we are passing a quote like "GOOG" to get method of Yahoo finance i am getting index out of bound exception. i am not sure why it is happening.Could you please help me out?
@praveenkumarkodge8184
@praveenkumarkodge8184 5 лет назад
Zuul configured with 8300 and 8301.. what is the use of it ???
@rpt-f6q
@rpt-f6q 5 лет назад
Thank you for wonderful work.
@HossamKandil
@HossamKandil 5 лет назад
Very helpful, question: should we add the services to zuul config , or should it be discovered from Eureka server ?!
@TechPrimers
@TechPrimers 5 лет назад
The new notion is using Eureka Server to perform auto discovery
@mobinshah1
@mobinshah1 4 года назад
Zuul Proxy has been forwarded to maintenance... which means that it will probably be discontinued at some point.
@aniruddhavaidya6337
@aniruddhavaidya6337 6 лет назад
Very informative and useful
@Apurvk
@Apurvk 6 лет назад
Hey Ajay, Thanx for the effort. Quick question: How do we go about deploying all these on AWS ? like on EC2 ?
@TechPrimers
@TechPrimers 6 лет назад
there are different ways to do it. AWS CodeDeploy helps in pushing these to EC2.
@Apurvk
@Apurvk 6 лет назад
would you be making a youtube video regarding the same?
@TechPrimers
@TechPrimers 6 лет назад
my latest video shows how to deploy spring boot app manually to EC2. I'm learning AWSCodeDeploy. Will do once i get comfortable with it
@jayasudhakar4463
@jayasudhakar4463 5 лет назад
Good explanation Bossss!!
@VRRM
@VRRM 5 лет назад
I had a question regarding hibernate. In any booking system If multiple users select the same seat. How to handle it in the backend so that only one user gets the seat
@aniruddhavaidya6337
@aniruddhavaidya6337 6 лет назад
Useful and informative.
@DigvijayBhakuni-1990
@DigvijayBhakuni-1990 7 лет назад
Very Good Video Can you do authentication with Zuul
@josimaramilcarjafa
@josimaramilcarjafa 5 лет назад
amazing videos is missing just security between microservices
@karan6551
@karan6551 3 года назад
Awesome 🔥❤️❤️❤️❤️
@anilnaidu4751
@anilnaidu4751 7 лет назад
hi bro one of the nice video you have done and how we apply security to Api Gateway could you please do one video
@TechPrimers
@TechPrimers 7 лет назад
+anil naidu sure will do a video on securing microservicsa
@neshant89
@neshant89 6 лет назад
tech primers please do a video on securing the microservices and gateway
@shubhammahajan1178
@shubhammahajan1178 6 лет назад
Hi team, first of all..thank you all for these great videos. I'm starting with these technologies using your videos only. But I am having a problem in service registration here. Services are being registered and visible in the Eureka Dashboard, but i am not able to access db-service using it's application name. It's giving me the UnknownHostException: db-service
@TechPrimers
@TechPrimers 6 лет назад
Hi Shubham, please check how you are creating the RestTemplate. It needs to be auto-wired rather than new RestTemplate(). If you autowire SpringBoot will take care of replacing the db-service name with the relevant host and routes it
@shubhammahajan1178
@shubhammahajan1178 6 лет назад
I did autowired the template as you did... but not working...is there a way to communicate in slack???
@shubhammahajan1178
@shubhammahajan1178 6 лет назад
this is the exception that i'm getting: ResourceAccessException: I/O error on GET request for "db-service/rest/db/shubham": db-service; java.net.UnknownHostException: db-service But when i use the localhost:8089 (port of db-service) in StockResource class, everything is working then..please help...
@amreensiddiqui9041
@amreensiddiqui9041 6 лет назад
Good job...Can we use weblogic server instead of Eureka server?
@TechPrimers
@TechPrimers 6 лет назад
you can use it. but weblogic is heavy and Service discovery is not its primary functionality
@bhaskergour
@bhaskergour 4 года назад
great tutorial
@Premkumar-ln7gt
@Premkumar-ln7gt 6 лет назад
You are really awasome
@abhishekramkrishna9448
@abhishekramkrishna9448 6 лет назад
The video didn't show to detect service with Eureka service. TheDB service URL is still hardcoded.
@vincentmax4571
@vincentmax4571 5 лет назад
Nice music. Which track?
@amitpadgaonkar8830
@amitpadgaonkar8830 5 лет назад
Great video!!!. Music is really annoying though. Your presentations are great in themselves. There is no need for background music. It's really distracting
@hi1983ja
@hi1983ja 6 лет назад
Thanks for such a informative video. I have question. Is there any way we can determine whether zuul is hitting appropriate service. It would be helpful if you could provide code snippet or a way to achieve this. Thanks
@TechPrimers
@TechPrimers 6 лет назад
nope. zuuls primary job is to act as a gateway/proxy. so i dont think its required
@hi1983ja
@hi1983ja 6 лет назад
thanks for reply, so in this case how we can determine without executing end to end test that gateway is redirecting the request to proper services.
@nithingn3567
@nithingn3567 6 лет назад
Thanks a lot.Fabulous job :)
@shubhangibansod3521
@shubhangibansod3521 4 года назад
Useful video....
@muralik5504
@muralik5504 6 лет назад
Nice tutorial, but I was taken so many pauses to make it on my system.
@polimet12345
@polimet12345 5 лет назад
Hi I have a question. If UI hits Gateway to microservice directly (stock Service or dB service) and from here if they lookup in Eureka service discovery for communication between Microservices then what is the point if particular micro service is down or not available or port changed then gate way ips of service has to be changed and redeploy ? I believe api gateway should hit or interact with Eureka service discovery for look up micro service rite ? Please advise
@cafeta
@cafeta 7 лет назад
+Tech Primers how do I register in Zuul the services when the ports are dynamically generated?
@susmithapuppala3599
@susmithapuppala3599 3 года назад
which zuul version do we need to add for spring boot 2.4.5 ?
@ashishkathait6783
@ashishkathait6783 6 лет назад
One question.... can we create a separate microservice for ZUUL at some other port, with its own yml file and integerate it with EUREKA server registry ?? that will decouple the EUREKA and ZUUL
@TechPrimers
@TechPrimers 6 лет назад
+Ashish Kathait yes. That's the idea. My laptop didn't have enough memory to run them separately. Hence i had merged them together
@ashishkathait6783
@ashishkathait6783 6 лет назад
Thanks Tech Primers... This was an awesome tutorial and the best part was you were doing it live. Have one more question. how to do Transaction Management in microservice environment. you explained about hystrix and that is to avoid sending the exception to front end. So is there other technology for Microservice transaction management ? ?
@songleishiyulin
@songleishiyulin 7 лет назад
nice. short and systematic
@TechPrimers
@TechPrimers 7 лет назад
+Lei Song thanks lei
@rajusakthitube
@rajusakthitube 6 лет назад
Great work
@shubhangibansod3521
@shubhangibansod3521 4 года назад
While calling stockprice service yahoo Finance api is throwing string index out of bound exception.. Plz help with this
@rksingh7493
@rksingh7493 6 лет назад
Why we need both Api gateway and service registry i didn't understood . you are calling services directly from Api gateway (Api->service then service to service gateway,why not Api->service registry->service?). if you would have called service registry from Api gateway then it would have made sense .please explain.
@TechPrimers
@TechPrimers 6 лет назад
Hi Rk, You can take a look at this article which has very nice explanation medium.com/microservices-in-practice/service-mesh-vs-api-gateway-a6d814b9bf56
@ohhhgggeeezzz
@ohhhgggeeezzz 5 лет назад
Could you please explain why we need Eureka server / clients? Because zuul proxy settings we already defined the routes path: /db-service/** url: localhost:8300 So without Eureka if we hit our REST endpoint like so http:localhost:8302/db-service/rest/db/{name} would zuul still successfully reach the endpoint?
@bhanusreeja3205
@bhanusreeja3205 6 лет назад
Worthy video - Thanq :)
@smishra2128
@smishra2128 5 лет назад
Trying the microservice design on H2 internal Database , getting an error which is taking hours to resolve : com.sun.jersey.api.client.ClientHandlerException: org.apache.http.conn.ConnectTimeoutException: Connect to localhost:8761 timed out at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) ~[jersey-apache-client4-1.19.1.jar:1.19.1] at com.netflix.eureka.cluster.DynamicGZIPContentEncodingFilter.handle(DynamicGZIPContentEncodingFilter.java:48) ~[eureka-core-1.6.2.jar:1.6.2] The Eureka server looks good at 8302 , however when I start the DB service I get this error - is there a way to resolve this ? Application Properties in DB service : spring.application.name=db-service #server.port=8300 [[this is commented as it throws error][ spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE spring.h2.console.enabled=true spring.h2.console.path=/h2console spring.datasource.username=sa spring.datasource.password= spring.datasource.driverClassName=org.h2.Driver spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
@asimah3959
@asimah3959 5 лет назад
I'm getting the following error when trying to run eureka-service. Help is highly appreciated! Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'org.springframework.cloud.netflix.zuul.ZuulProxyAutoConfiguration': Unsatisfied dependency expressed through field 'zuulProperties'; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'zuul-org.springframework.cloud.netflix.zuul.filters.ZuulProperties': Could not bind properties to 'ZuulProperties' : prefix=zuul, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'zuul.routes' to java.util.Map 2019-01-10 16:48:28.282 INFO 53629 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2019-01-10 16:48:28.287 WARN 53629 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat 2019-01-10 16:48:28.299 INFO 53629 --- [ main] ConditionEvaluationReportLoggingListener :
@balrajmys
@balrajmys 7 лет назад
Awesome demo :) I'm working in spring boot web project calling third party server and pushing orders created from our UI calling the api access. But my concern is I'm pushing 100 orders at a time when it's pushing api server may go down and order creation may stop in between. So I want to push all orders into somewhere and pushing each item to api server. When it's down still orders will be in cache offline and when server is up it has to take orders from the cache instead user uploading from the beginning. Pls suggest
@TechPrimers
@TechPrimers 7 лет назад
+balraj s you can use JMS queue to solve that problem. Check my video on ActiveMq. It's a queue implementation. Messages are stored inside the queue. So that even if the process guess down the messages will be in the active mq topic
@balrajmys
@balrajmys 7 лет назад
Thanks a lot I'll go through ur videos on that and let you know for any help :)
@TechPrimers
@TechPrimers 7 лет назад
+balraj s I have answered your question here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--Ko08SNnz6o.html
@deepakpandey4092
@deepakpandey4092 6 лет назад
Thanks for the nice Tutorial. How we will deploy microservices in cloud foundry ? How they will interact with each other as cloud foundry will provide some wrapper like springbootservices.org over application as we have used to call microservices with feign client or resttemplate. Hope i am able to explain my query to you properly.
@TechPrimers
@TechPrimers 6 лет назад
you can deploy to CF using Jenkins of any Continuous Integration tools. For the wrapper, you can create a Load balancer which does this routing. In general, Discovery Servers are useful for interprocess communication, in CF, you will not be using the port numbers instead the "app-name..com"
@deepakpandey4092
@deepakpandey4092 6 лет назад
If we have Eureka server for service registry and using bootstrap.properties given name to each micro-service and using that name for communication between various micro-services? Please rectify me if i am wrong. Then they can communicate with each other or we need "app-name..com" in each micro service communicating with other microservices.
@deepakpandey4092
@deepakpandey4092 6 лет назад
If you can upload tutorial regarding deploying micro-services on cloud foundry using service registry, Zuul and any 2 micro-services communicating with each other It will be really helpful. Thanks in advance
@andrzejokon1517
@andrzejokon1517 6 лет назад
Great tutorial!
@rahulgoti3864
@rahulgoti3864 6 лет назад
Thank You!!
@singhrudrajeet7
@singhrudrajeet7 4 года назад
Hey, I have created the complete application but from YahooFinanceAPI the response are coming null. I have used the same version as mentioned in the video. Inside the YahooFinance class, there is getQuotes() - where we have StockQuotesRequest request = new StockQuotesRequest(query);. then List quotes = request.getResult();. Here the request don't generate getResult().. And I'm getting timeout exception. Please help
@RumakInaph
@RumakInaph 4 года назад
So all these services should have their own security mechanism? You have 4 hops almost before the data goes to DB and each hop is a service, so each hop should have its own oAuth/JWT auth?
@TechPrimers
@TechPrimers 4 года назад
Yes phani. That’s right.
@RumakInaph
@RumakInaph 4 года назад
Tech Primers thank you buddy again for good content :)
@RumakInaph
@RumakInaph 4 года назад
Sorry another question buddy, load balancing of eureka service how does it work, what would be the url that goes into api gateway.. I looked at your channel but couldn’t find the video on load balancing in this design pattern. Could you please point me to it
@rahultiple8780
@rahultiple8780 5 лет назад
its giving error while zuul configuration
@jeeperscreepers7
@jeeperscreepers7 6 лет назад
great video!
@MYSTERIOMAXXX
@MYSTERIOMAXXX 2 года назад
Is apigateway and service registry same springboot service?
@TechPrimers
@TechPrimers 2 года назад
In this example i have merged them
@igrai
@igrai 6 лет назад
thank you!
@ohhhgggeeezzz
@ohhhgggeeezzz 6 лет назад
In spring boot 2 Is anyone getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused (Connection refused)? Both db-service and stock-service is working in eureka dashboard but I get this connection refused like ever 2 minutes..
@manishjs19
@manishjs19 4 года назад
Hi Ajay. Currently i am only running db-service and eureka service discovery and accessing db-service thru postman by hitting load balance URL (localhost:8302/api/db-service/rest/db/add) & it works. But If I create multiple instance of db-service (2 instance with different ports) how can i make sure the request is load balanced between 2 instances of db-service. I tried to give comma separated value for list of urls in zuul route url property but that didn't worked. . Can you please advise on how to load balancing only this?
Далее
Bro's Using 3 Weapons
00:36
Просмотров 3,4 млн
这位大哥以后恐怕都不敢再插队了吧…
00:16
Microservices with Databases can be challenging...
20:52
Microservices are Technical Debt
31:59
Просмотров 428 тыс.
What is Span in C# and why you should be using it
15:15
The Problem With Microservices
17:47
Просмотров 434 тыс.
Design Microservice Architectures the Right Way
48:30
Просмотров 713 тыс.
Bro's Using 3 Weapons
00:36
Просмотров 3,4 млн