WebClient 예제 Reactor WebFlux 는 Reactive Streams를 기반으로 하는 4세대 리액티브 라이브러리이다. non-blocking 방식(비동기)으로 동작해 시스템 효율이 좋다. (기존 RestTemplate은 Blocking 멀티쓰레드 방식) 0개, 1개 또는 N개의 반환을 받을 수 있다.
마이크로서비스 아키텍처(MSA) 등에 적합함 설명에 사용될 프로젝트 구조 main.java.com.example.webclient controller StoreController FoodDeliveryAppController -> WebClient를 사용하여 StroeController로 요청을 전달함 domain Food util WebClientUtil 전체 프로젝트 코드는 아래 링크(github)를 참조하세요. SpringExample/webclient-tutorial at main · chhs2131/SpringExample 스프링 예제...
#
api
#
동기
#
란
#
메세지
#
메시지
#
발행
#
비동기
#
사용법
#
스프링
#
스프링부트
#
예제
#
웹클라이언트
#
웹플럭스
#
통신
#
구독
#
개념
#
block
#
deprecated
#
error
#
http
#
httpclient
#
msa
#
rest
#
resttemplate
#
spring
#
springboot
#
subscribe
#
webclient
#
webflux
#
튜토리얼