No video

Spring Cloud Tutorial - Netflix Zuul + Eureka Simple Example

  Рет қаралды 68,160

JavaInUse

JavaInUse

7 жыл бұрын

Deploy an application usingNetflix Zuul and Eureka.
www.javainuse.com/spring/spri...

Пікірлер: 51
@Abdullahkhan-ks2py
@Abdullahkhan-ks2py 5 жыл бұрын
Extremely nice, concise and progressive tuts to learn Spring cloud and its module. Really helpful. Thanks a lot.
@nemosourav
@nemosourav 6 жыл бұрын
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!
@JavaInUse
@JavaInUse 6 жыл бұрын
Thanks for the encouraging comment Sourav.
@subramanianchenniappan4059
@subramanianchenniappan4059 4 жыл бұрын
Thanks, you explained the concept in a simple way. all in 15 minutes
@sharathnagendran3754
@sharathnagendran3754 6 жыл бұрын
Awesome tutorial. Exactly what I was looking for.
@JavaInUse
@JavaInUse 6 жыл бұрын
Glad could help you Sharath :)
@mohammadmainuddin5233
@mohammadmainuddin5233 5 жыл бұрын
Thank you! Great one!
@andrewsselvaraj
@andrewsselvaraj 4 жыл бұрын
Excellent Excellent Excellent .Keep up the good work
@ravinderreddy661
@ravinderreddy661 5 жыл бұрын
Excellent !!!
@abhijitdascs
@abhijitdascs 5 жыл бұрын
great one!!!
@azharmobeen
@azharmobeen 5 жыл бұрын
Thank you so much for sharing this tutorial. it's simple and easy to understand. I just loved it. Thanks
@JavaInUse
@JavaInUse 5 жыл бұрын
Welcome Azhar. Glad could help you :)
@skullwise
@skullwise 5 жыл бұрын
Very well explained... But I don't understand the use of pre, post, route and error ZuulFilters. Can anyone please explain?
@niduraprageeth1734
@niduraprageeth1734 5 жыл бұрын
thank u so much
@vishalm1600
@vishalm1600 4 жыл бұрын
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?
@subramanianchenniappan4059
@subramanianchenniappan4059 4 жыл бұрын
good question. I also want to know
@Crane_FISH
@Crane_FISH 3 жыл бұрын
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
@jitendrathakur18190
@jitendrathakur18190 5 жыл бұрын
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.
@ruchirapeiris5267
@ruchirapeiris5267 4 жыл бұрын
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.
@ksk235
@ksk235 5 жыл бұрын
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
@hi1983ja
@hi1983ja 6 жыл бұрын
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 ?
@diegoramos27
@diegoramos27 4 жыл бұрын
I think it needs to check that with Eureka, did you get the answer by now. ?
@GRajaMca
@GRajaMca 6 жыл бұрын
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
@gautamdevkhanna4255
@gautamdevkhanna4255 4 жыл бұрын
Use feign or RestTemplate instead... Zuul primarily used as API Gateway for external consumers interested in your microservices..
@gauravdas1000
@gauravdas1000 4 жыл бұрын
Very easily explained, liked it. Please guide me to deploy the same in AWS without ECS
@abhabhardwaj8351
@abhabhardwaj8351 4 жыл бұрын
Thank you for making very informative videos. Could you make some vedio on redhat openshift
@Crane_FISH
@Crane_FISH 3 жыл бұрын
Please upload Zuul 2.0 video. Thank you..
@avinashmadireddy
@avinashmadireddy 3 жыл бұрын
Can you explain, how to route if there are multiple producer micro service instances? Instead of defining in properties file as static.
@vinaysumani6045
@vinaysumani6045 5 жыл бұрын
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
@sHashikumarindrukhia
@sHashikumarindrukhia 5 жыл бұрын
on zuulfilter code there are lots of error. why and how do i resolve this
@bunthaideng2492
@bunthaideng2492 5 жыл бұрын
I am still not clear reverse proxy and load balancer
@brprajwal
@brprajwal 5 жыл бұрын
What if zuul proxy goes down? How do you make zuul proxy highly available? How do clients address different zuul proxies?
@azharmobeen
@azharmobeen 5 жыл бұрын
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
@shubhi2648
@shubhi2648 3 жыл бұрын
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
@candidfarmer425
@candidfarmer425 6 жыл бұрын
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?
@JavaInUse
@JavaInUse 6 жыл бұрын
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.
@sparun1607
@sparun1607 5 жыл бұрын
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?
@JaikratSinghTariyal
@JaikratSinghTariyal 5 жыл бұрын
It wont and we don't route URLs from application to api gateway. Its vice versa.
@easyappscompany
@easyappscompany 5 жыл бұрын
good
@JavaInUse
@JavaInUse 5 жыл бұрын
thanks
@yogeshsrivastava3050
@yogeshsrivastava3050 4 жыл бұрын
Why you created new properties file bootstrap. Properties
@subramanianchenniappan4059
@subramanianchenniappan4059 4 жыл бұрын
good question
@TimC0x
@TimC0x 5 жыл бұрын
Error in video: property spring.application.name should be in boostrap.properties and not in application.properties
@TimC0x
@TimC0x 5 жыл бұрын
8:15
@TimC0x
@TimC0x 5 жыл бұрын
also why not yml but properties format?
@TimC0x
@TimC0x 5 жыл бұрын
anyways, thank you for videos - they made the clear view on spring cloud for me!
@gautamdevkhanna4255
@gautamdevkhanna4255 4 жыл бұрын
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_FISH
@Crane_FISH 3 жыл бұрын
Yes correct, just assume that call microsevice here is external app only.. that's it. Zuul is for external .. not for internal
@mushroomhead3619
@mushroomhead3619 6 жыл бұрын
There is no Netflix! Only Zuul!
Spring Cloud Stream +RabbitMQ Hello World Example
14:25
JavaInUse
Рет қаралды 13 М.
Spring Cloud Gateway Hello World Example
17:55
JavaInUse
Рет қаралды 35 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 89 МЛН
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 3,1 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 10 МЛН
UNO!
00:18
БРУНО
Рет қаралды 2,3 МЛН
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 175 М.
Client side Load Balancer using Spring Cloud Ribbon | Spring Boot
25:02
Spring Cloud Gateway with Hystrix example | Tech Primers
30:39
Tech Primers
Рет қаралды 39 М.
Building an API Gateway in Java with Spring Cloud Gateway
23:01
Protect Your Microservices with Spring Cloud Gateway
28:10
SpringDeveloper
Рет қаралды 26 М.
API Gateway | Microservice
11:48
Telusko
Рет қаралды 68 М.
API GATEWAY with Zuul | How to create zuul API Gateway in microservices'
41:51
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 89 МЛН