API网关春天云网关vs kong?建议? [英] API gateway spring cloud gateway vs kong? Recommendations?
问题描述
Halli Hallo
我希望我能在合适的地方。我想开始使用API-Gateway。目前我正在运行通过Docker部署的5个用Java(Spring-Boot)编写的微服务。每个微服务都通过Keycloak进行保护。我想使用API网关,以便我可以将每个MS组合成1个链接:
demo.com/api/ms1
demo.com/api/ms2
...
更重要的是我希望拥有授权在一个地方,而不是在单一的微服务。
我找到了几个解决方案,但我不确定使用哪个或者我是否应该自己写一个?
我有兴趣查看'Spring Cloud Gateway',因为微服务是用'Spring Boot'和'Kong'编写的。你们会为我的用例推荐什么?对于初学者来说,这更容易吗?
提前致谢
PS:我不是英语母语者 - 我很抱歉所有的拼写错误
我尝试过:
我用google搜索了一些关于这个主题的视频。
Halli Hallo
i hope im at the right Place. I want to get started with API-Gateway(s). Currently im running 5 Microservices written in Java (Spring-Boot) deployed via Docker. Each Microservices is protected via Keycloak. I want to use a API-Gateway so that i can combine every MS into 1 Link:
demo.com/api/ms1
demo.com/api/ms2
...
And more important i want to have the Authorization at one Place and not in everysingle Microservice.
I found a couple of Solutions but im not sure which to use or if i maybe should write my own one?
I was intrested in checking out 'Spring Cloud Gateway' because the Microservices are written in 'Spring Boot' and alternatively 'Kong'. What would u guys recommend for my usecase? Whats is easier for total beginners?
Thanks in advance
PS: Im not a native English-Speaker im sorry for all my misspellings
What I have tried:
I googled a bit and watched some videos on the subject.
推荐答案
im using spring therefore i choose zuul ( https://spring.io/guides/gs/routing-and-filtering/ )
这篇关于API网关春天云网关vs kong?建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!