Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocking call in non-blocking context #1035

Open
qstpss opened this issue Jul 24, 2024 · 1 comment
Open

Blocking call in non-blocking context #1035

qstpss opened this issue Jul 24, 2024 · 1 comment

Comments

@qstpss
Copy link

qstpss commented Jul 24, 2024

Hello,
I see such warning Possibly blocking call in non-blocking context could lead to thread starvation on that line:

Channels.newChannel(bodyStream).write(buffer.asByteBuffer().asReadOnlyBuffer())

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

@apeterlic
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants