-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed as not planned
Closed as not planned
Copy link
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
As seen in spring-projects/spring-framework#33780 (comment), Spring Framework recently added virtual threads support for ThreadPoolTaskExecutor
/ThreadPoolTaskScheduler
. Java apps are not typically expected to pool virtual threads, but the use case there is about lifecycle management.
We should consider whether and how we want to support this use case, considering that:
spring.threads.virtual.enabled=true
enables virtual threads globally and our community expects it to embrace best practices- so far, enabling this option switches to
SimpleAsyncTaskScheduler
/SimpleAsyncTaskExecutor
and makes lots of configuration properties without effect. See the "Doesn't have an effect if virtual threads are enabled." mentions in the application properties docs
We should consider whether we want to support this use case through properties or through the existing customizers only.
okohub, cgdsyilmaz and naciyeguzel
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement