Spring WebFlux에서 Flux를 subscribe하고 Flux 변수를 return할 경우 아래와 같이 경고가 발생함. Inspection Description을 보면 아래와 같음. Calling 'subscribe' in non-blocking context is not recommended Inspection info: Reports subscribe() calls in "reactive" methods. Methods returning a Publisher type (including Flux and Mono) should not call the subscribe() method directly because it can break the reactive call chain. Instead ..
반응형
INSPECTION
반응형