Deploy an application usingNetflix Zuul and Eureka. www.javainuse.com/spring/spri...
Пікірлер: 51
@Abdullahkhan-ks2py5 жыл бұрын
Extremely nice, concise and progressive tuts to learn Spring cloud and its module. Really helpful. Thanks a lot.
@nemosourav6 жыл бұрын
Your videos are extremely easy to follow and right to the point. I have followed your Spring cloud videos and they have played a big part in understanding the Spring cloud concepts. Thank you so much and keep making such videos!
@JavaInUse6 жыл бұрын
Thanks for the encouraging comment Sourav.
@subramanianchenniappan40594 жыл бұрын
Thanks, you explained the concept in a simple way. all in 15 minutes
@sharathnagendran37546 жыл бұрын
Awesome tutorial. Exactly what I was looking for.
@JavaInUse6 жыл бұрын
Glad could help you Sharath :)
@mohammadmainuddin52335 жыл бұрын
Thank you! Great one!
@andrewsselvaraj4 жыл бұрын
Excellent Excellent Excellent .Keep up the good work
@ravinderreddy6615 жыл бұрын
Excellent !!!
@abhijitdascs5 жыл бұрын
great one!!!
@azharmobeen5 жыл бұрын
Thank you so much for sharing this tutorial. it's simple and easy to understand. I just loved it. Thanks
@JavaInUse5 жыл бұрын
Welcome Azhar. Glad could help you :)
@skullwise5 жыл бұрын
Very well explained... But I don't understand the use of pre, post, route and error ZuulFilters. Can anyone please explain?
@niduraprageeth17345 жыл бұрын
thank u so much
@vishalm16004 жыл бұрын
Hi, First of all your videos are amazing! I have had great help from your channel and website in learning Spring Cloud. One question: What is the benefit of calling producer through zuul in the consumer? Is it best practice to make inter-service service calls through the gateway, since we could keep using the Eureka server to directly get our request to the producer?
@subramanianchenniappan40594 жыл бұрын
good question. I also want to know
@Crane_FISH3 жыл бұрын
No Vishal, zuul is for external app 's call to our microsevices call via single entry point.. For within application microsevice to microsevice call u can use ribbon i.e client side load balancer
@jitendrathakur181905 жыл бұрын
It's a nice example, but one thing I have observed when you have created filters you have copied the class name, package then code it somehow slow process. As I have seen you already using eclipse it means you can directly copy the complete code and paste it in the root (src/main/java) directory of project in eclipse it automatically creates the packages and class.
@ruchirapeiris52674 жыл бұрын
Thanks for sharing. A quick question. Why we always take the first instance (ServiceInstance serviceInstance = instances.get(0)). Sounds like we are ignoring all the other instances in a scenario where we have multiple instances of same service.
@ksk2355 жыл бұрын
I think you are taking a back step in continuation of your previous videos. If there are multiple Employee Producer instances as you have shown in your previous video with Netflix Ribbon, how does that come into play? Does Zuul use Ribbon in the background? I would really appreciate your answer. Thank you so much
@hi1983ja6 жыл бұрын
Thanks for the video this one is really helpful. Could you please help me to understand howto determine whether zuul is redirecting request to right service ?
@diegoramos274 жыл бұрын
I think it needs to check that with Eureka, did you get the answer by now. ?
@GRajaMca6 жыл бұрын
Thanks for your awesome videos, but I have a confusion on how to communicate between two microservice either it should go via zuul gateway or using Eureka ?? in your current situation request in coming from outside like web apps to service but if there is a situation my internal service should talk to each other how can I achieve this
@gautamdevkhanna42554 жыл бұрын
Use feign or RestTemplate instead... Zuul primarily used as API Gateway for external consumers interested in your microservices..
@gauravdas10004 жыл бұрын
Very easily explained, liked it. Please guide me to deploy the same in AWS without ECS
@abhabhardwaj83514 жыл бұрын
Thank you for making very informative videos. Could you make some vedio on redhat openshift
@Crane_FISH3 жыл бұрын
Please upload Zuul 2.0 video. Thank you..
@avinashmadireddy3 жыл бұрын
Can you explain, how to route if there are multiple producer micro service instances? Instead of defining in properties file as static.
@vinaysumani60455 жыл бұрын
Why should external service know the eureka details. it should be just rest call to zuul and zuul in turn with eureka forward the request
@sHashikumarindrukhia5 жыл бұрын
on zuulfilter code there are lots of error. why and how do i resolve this
@bunthaideng24925 жыл бұрын
I am still not clear reverse proxy and load balancer
@brprajwal5 жыл бұрын
What if zuul proxy goes down? How do you make zuul proxy highly available? How do clients address different zuul proxies?
@azharmobeen5 жыл бұрын
You should check Hystrix for this purpose not only Zuul service down for all the services we should use this. Please check this link :dzone.com/articles/hystrix-series-part1-getting-started-with-hystrix
@shubhi26483 жыл бұрын
Hi sir, thanks for awesome video. I have a doubt: I have created one service as oauthserver.. In my zuul, I have used "authenticated" for all the microservices except for zuul service... How will Eureka come into picture here? Like I have doubts as to which flow will be followed for an external request: Flow 1: Request -> zuul -> oauth server (get token) -> zuul -> eureka -> microservice (If we implement this flow, will zuul route all requests to eureka instead of corresponding microservice) Flow 2: Request -> Eureka ->> Zuul -> oauth server (get token) -> zuul -> microservice Pls suggest which is correct flow. Thanks
@candidfarmer4256 жыл бұрын
A quick question.... why did we hardwire the baseurl against /producer in a properties. what if the producers got registered to Eureka from different boxes or zones? Shouldn't we tell zuul to use Eureka itself to discover the service...... something like /producer ---> discoveryClient.getInstances('producer-service').get(0).getUri() ? can you please clarify?
@JavaInUse6 жыл бұрын
In such a scenario we can use Eureka to get producer module details. The properties file in this case will be something like-zuul: routes: producerID: path: /producer/** stripPrefix: false serviceId: employee-zuul-service Maybe will provide a video of such example later.
@sparun16075 жыл бұрын
I have only one question if we hit the service directly will it redirect to api gateway automatically? if we need to make it to work what should be done?
@JaikratSinghTariyal5 жыл бұрын
It wont and we don't route URLs from application to api gateway. Its vice versa.
@easyappscompany5 жыл бұрын
good
@JavaInUse5 жыл бұрын
thanks
@yogeshsrivastava30504 жыл бұрын
Why you created new properties file bootstrap. Properties
@subramanianchenniappan40594 жыл бұрын
good question
@TimC0x5 жыл бұрын
Error in video: property spring.application.name should be in boostrap.properties and not in application.properties
@TimC0x5 жыл бұрын
8:15
@TimC0x5 жыл бұрын
also why not yml but properties format?
@TimC0x5 жыл бұрын
anyways, thank you for videos - they made the clear view on spring cloud for me!
@gautamdevkhanna42554 жыл бұрын
I think you jumbled up a bit by calling one microservice talking to Zuul and then inturn calling internal ones.. you could have shown some external user request.. this would have clarified many doubts .. inter microservices is generally done using restTemplate or feign as recommended. no doubt still video was informative...
@Crane_FISH3 жыл бұрын
Yes correct, just assume that call microsevice here is external app only.. that's it. Zuul is for external .. not for internal