StarterInc / StackGen

Generate Spring Boot REST apps from a Swagger/OpenAPI specification
http://docs.stackgen.io
6 stars 3 forks source link

Configure a TaskExecutor in the MVC config under "async support". #27

Open spaceghost69 opened 5 years ago

spaceghost69 commented 5 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. launch StarterIgnite
  2. watch logs

[http-nio-127.0.0.1-8008-exec-1] WARN org.springframework.web.servlet.mvc.method.annotation.ReactiveTypeHandler - !!! Streaming through a reactive type requires an Executor to write to the response. Please, configure a TaskExecutor in the MVC config under "async support". The SimpleAsyncTaskExecutor currently in use is not suitable under load.

Controller: de.codecentric.boot.admin.server.web.ApplicationsController Method: applicationsStream Returning: reactor.core.publisher.Flux<org.springframework.http.codec.ServerSentEvent<de.codecentric.boot.admin.server.web.ApplicationsController$Application>>