springboot项目实现流式输出
https://docs.spring.io/spring-framework/reference/web/webflux.html
https://docs.spring.io/spring-boot/docs/2.1.7.RELEASE/reference/htmlsingle/#boot-features-webflux
https://springdoc.cn/spring/web-reactive.html#spring-web-reactive
https://segmentfault.com/a/1190000044156563
依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
Mono 返回0-1个数据时使用,
Flux 返回1-N个数据时使用