Open blmarket opened 8 years ago
Yeah, I tried to get this work, but could not figure out how. Care to dive deeeeep?
It's too deep, so taking deeeeeep breath first.
our use cases are experimental yet, so will wait until it's going serious consideration. currently we're opening both tomcat & armeria ports to workaround.
I've met simler situation when implementing async API with spring-boot (using DeferredResult
) + TomcatService
(and not solved yet).
Here is minimum sample code for our case.
https://github.com/imasahiro/armeria-issue/blob/issue116/src/main/java/com/linecorp/armeria/sample/SampleController.java#L22
Met the same situation when using DeferredResult
Spring GraphQL also does not work when it's used with armeria-spring-bootx-autoconfigure
module because AsyncServlet isn't supported.
However, Spring GraphQL works if it's used with the webflux integration module.
Still, it's not available? How will Kotlin behavior? that uses suspend
as an async
No, it still doesn't support AsyncServlet. @nao0811ta Are you using it with Kotlin?
Sorry. it wasn't Armeria. never mind
I'd like to use async feature like
SseEmitter
but armeria does not supports this yet.