Luiz Aguiar
05/16/2023, 9:37 AMspring-boot-starter-web
, is it possible to use Coroutines
by adding spring-boot-starter-webflux
?
will it work properly to have a Flow
controller function for data stream?Robert Jaros
05/16/2023, 10:13 AMLuiz Aguiar
05/16/2023, 10:17 AMservlet
.
that's my question's pointJacob
05/16/2023, 12:27 PMAdding bothandspring-boot-starter-web
modules in your application results in Spring Boot auto-configuring Spring MVC, not WebFlux. This behavior has been chosen because many Spring developers addspring-boot-starter-webflux
to their Spring MVC application to use the reactivespring-boot-starter-webflux
. You can still enforce your choice by setting the chosen application type toWebClient
SpringApplication.setWebApplicationType(WebApplicationType.REACTIVE)
Luiz Aguiar
05/16/2023, 1:05 PMwebflux
also in the classpath.Jacob
05/16/2023, 2:06 PM