Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

作为 demo 工程,演示了如何在 Spring Cloud Gateway 中使用 ReactiveFeign 进行服务调用。

License

Notifications You must be signed in to change notification settings

ddavidzhang/spring-cloud-gateway-feign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Spring Cloud Gateway ReactiveFeign

作为 demo 工程,演示了如何在 Spring Cloud Gateway 中使用 ReactiveFeign 进行服务调用。

说明

本项目包含user-feign、spring-cloud-gateway两个子模块。

项目启动步骤

1、启动nacos,因为feign调用会依赖注册中心,所以需要启动nacos 2、启动user-feign项目 3、启动spring-cloud-gateway项目

测试

用postman发起接口调用:

GET localhost:6666/api/v1/users/getUserInfo

成功返回用户信息则说明调用成功

其他

其他关注的地方,可以通过断点进行调试。

About

作为 demo 工程,演示了如何在 Spring Cloud Gateway 中使用 ReactiveFeign 进行服务调用。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /