https://github.com/example-collection/spring-feign-example
Simple Spring Boot application using Feign to make synchronous API calls.
https://github.com/example-collection/spring-feign-example
Last synced: 6 months ago
JSON representation
Simple Spring Boot application using Feign to make synchronous API calls.
- Host: GitHub
- URL: https://github.com/example-collection/spring-feign-example
- Owner: Example-Collection
- Created: 2021-07-25T13:07:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T09:21:51.000Z (over 4 years ago)
- Last Synced: 2025-06-02T22:03:07.845Z (8 months ago)
- Language: Kotlin
- Size: 140 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Synchronous API Call using Feign
프로젝트 실행 방법
- 이 프로젝트는 2개의 모듈(`SampleFeignClient`, `SampleServer`)로 구성되어 있습니다.
시연을 위해서는 2개의 애플리케이션을 모두 실행해야 합니다.
- `SampleFeignClient`는 8081번, `SampleServer`는 8082번 포트에서 실행됩니다.
- `SampleFeignClient(:8081)`의 `/v1/send-feign-api-call`에 요청을 보내면
`SampleFeignClient`는 내부적으로 `SampleServer(:8082)`의 `/v1/sample`에
요청을 보내고, 그 응답을 클라이언트에게 반환해줍니다.
개발하며 정리한 글
- 링크