Speaker: Josh Long Hi Spring fans! In this installment of Spring Tips we’ll look at the new API gateway project, Spring Cloud Gateway, to support edge service requirements like rate limiting, circuit breakers, proxying, and more.
Пікірлер: 27
@ryecabansag56853 жыл бұрын
Josh Long is a God!
@benm12956 жыл бұрын
Maybe the best and most comprehensive Spring Cloud Tutorial so far! Great.
@cloud4java4 жыл бұрын
Great and comprehensive video about API Gateway. Really an amazing tool!
@aakoss6 жыл бұрын
Great presentation as always from Josh.
@Yangslehollandais6 жыл бұрын
Very Good Tuto
@stealthmusic16 жыл бұрын
Would you always use that for a specific application? Or is there a way to use that as a generic gateway by providing some kind of configuration file that replaces the code that you did for the routing?
@JustinHopperIsJuice6 жыл бұрын
I realize that Gateway is fresh off of the factory floor and this video is now 4 months old but is it me or did the fluent api for route builder change significantly. I tried to do something similar to the chain but did not find the appropriate methods. Thanks Josh
@alexmalinovsky82786 жыл бұрын
Do you have some sample repo for that?
@brianthalhamer19716 жыл бұрын
can routes be authorized, i.e. user needs to have a specific role like @Preauthorize on controller methods? I know you can define these as ant matches in the security configuration, but it would make the code easier to read/manage if it was here.
@warsicdia26706 жыл бұрын
What if Browser should contact a service through the gateway ? I am facing a Cross origin request. My question is: Where do I configure cross origin request access? in the gateway service or in the downstream service ? Please, help me.
@KezyORoan6 жыл бұрын
Awesome guide. This cleared out most questions I have on getting started with Spring Cloud. I do have one very important question though which I haven't been able to find an answer for anywhere. I need to be able to setup routes on a database (sql or nosql) instead of withing java code or configuration file. Is this possible? What do I need to achieve this? Any help will be greatly appreciated.
@mohantalachutla68343 жыл бұрын
Never heard of it. Is there a thing like the in db world?
@wangdavid40806 жыл бұрын
Nice video! Could you share the uao command?
@hemantbhoyar44626 жыл бұрын
Great video but documentation seems to be missing for spring cloud gateway tough
@WilberTorres6 жыл бұрын
The most amazing tool that I have ever seen, just one question, that rate limit is per set instances right ? , how it could be per microservice instance
@JoshLong6 жыл бұрын
Hi - the rate limit is per authenticated principal. it creates a key (in this case, based on the authenticated user) and it says "josh can only make X requests to the service on which the rateLimiter has been applied." you can provide custom key resolvers that work for any distinct key that you want.
@AbhijithVMohan6 жыл бұрын
I guess the question was whether the counters are in memory, and not shared across loadbalanced instances of the service. As per the current source code on github, it seems like the counters are shared across instances using redis.
@KentOJohnson6 жыл бұрын
Well done. It is easy to translate this to Kotlin. If anyone wants a github link just ask.
@KushagraSahni936 жыл бұрын
Kindly share one please.
@revatisonawane54686 жыл бұрын
please give github link
@arpandas84166 жыл бұрын
Can we get the github links of these example projects.
@GiliardLourenco4 жыл бұрын
Please, would you like to pass the girhub url if possible?
@hatemjaber6 жыл бұрын
spring.io/blog/2017/12/05/spring-cloud-finchley-m5-released#spring-cloud-gateway Use the above link to replace the @Bean RouteLocator code if you're on a newer version of Spring Boot than what's used in the video.