kotlin-tutorials icon indicating copy to clipboard operation
kotlin-tutorials copied to clipboard

Blocking call in non-blocking context

Open qstpss opened this issue 1 year ago • 1 comments
trafficstars

Hello, I see such warning Possibly blocking call in non-blocking context could lead to thread starvation on that line: https://github.com/Baeldung/kotlin-tutorials/blob/4abc9fb834397d277d0bb9281cfd02ab8ae21399/spring-reactive-kotlin/src/main/kotlin/com/baeldung/logfilter/decorator/LoggingResponseDecorator.kt#L21

Every example on the internet contains such a logic. I wonder is it ok?

qstpss avatar Jul 24 '24 05:07 qstpss

Hey @qstpss,

Thanks for the feedback; we'll look into this. This issue will remain open until then. Link to the article: https://www.baeldung.com/kotlin/spring-webflux-log-request-response-body

apeterlic avatar Jul 31 '24 05:07 apeterlic

This looks to be one that won't have high priority. We now have a note internally on it - closing this issue here.

lor6 avatar Feb 10 '25 09:02 lor6