You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "JavaLionLi (via GitHub)" <gi...@apache.org> on 2025/02/18 08:49:11 UTC
[I] [Feature] Hope that 'dubbo spring boot starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
JavaLionLi opened a new issue, #15158:
URL: https://github.com/apache/dubbo/issues/15158
### Pre-check
- [x] I am sure that all the content I provide is in English.
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Descriptions
Hope that 'dubbo spring boot starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch
spring.threads.virtual.enabled: true Start the virtual thread
### Related issues
_No response_
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "JavaLionLi (via GitHub)" <gi...@apache.org>.
JavaLionLi commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2670381960
> If `spring.threads.virtual.enabled` is configured, just apply the configuration to ProtocolConfig
Is it possible to add a new configuration to 'DubboDefaultPropertiesEnvironmentPostProcessor'?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "JavaLionLi (via GitHub)" <gi...@apache.org>.
JavaLionLi commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2670383048
> If `spring.threads.virtual.enabled` is configured, just apply the configuration to ProtocolConfig
@Configuration
public class DubboConfig {
@Bean
public ExecutorService virtualThreadExecutor() {
return Executors.newVirtualThreadPerTaskExecutor();
}
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "oxsean (via GitHub)" <gi...@apache.org>.
oxsean closed issue #15158: [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch
URL: https://github.com/apache/dubbo/issues/15158
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2667359328
Would you like to support it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "JavaLionLi (via GitHub)" <gi...@apache.org>.
JavaLionLi commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2670519180
Use dubbo 3.3.3 `dubbo.protocol.executor` this configuration is not found, and it is not in the code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "JavaLionLi (via GitHub)" <gi...@apache.org>.
JavaLionLi commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2667365184
> Would you like to support it?

Is it possible to omit this part of the configuration through the code, so that it can be turned on with one click
I'm not familiar with this work, but if I can crack this, I can try
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "oxsean (via GitHub)" <gi...@apache.org>.
oxsean commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2674223211
Good idea, I think if user set 'spring.threads.virtual.enabled' to true, means that the user wish to use the virtual thread pool by default.
If you have time, try it.
Some suggestions, you can refer to this method of reading the name and write to the configuration here.
https://github.com/apache/dubbo/blob/3.3/dubbo-spring-boot-project/dubbo-spring-boot/src/main/java/org/apache/dubbo/spring/boot/env/DubboDefaultPropertiesEnvironmentPostProcessor.java#L72
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Feature] Hope that 'dubbo-spring-boot-starter' supports springboot's 'spring.threads.virtual.enabled' Virtual thread switch [dubbo]
Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #15158:
URL: https://github.com/apache/dubbo/issues/15158#issuecomment-2670181229
If `spring.threads.virtual.enabled` is configured, just apply the configuration to ProtocolConfig
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org