GitHub user wxasacoder edited a discussion: [Q/A][Java SDK (Component)] 
dubbo3.3.5 使用executor-management-mode = isolation 
如果没有为service指定线程池,dubbo不会默认为每一个service创建一个线程池吗

### Pre-check

- [ ] I am sure that all the content I provide is in English.


### Apache Dubbo Component

Java SDK (apache/dubbo)

### Details

我在Springboot3.2.4 时,使用dubbo 3.3.5 ;
我看文档中关于 executor-management-mode = isolation  参数的介绍是:
ApplicationConfig 新增 String executor-management-mode 参数,配置值为 default 和 
isolation ,默认为 isolation。
executor-management-mode = default 使用原有 以协议端口为粒度、服务间共享 的线程池管理方式
executor-management-mode = isolation 使用新增的 以服务三元组为粒度、服务间隔离 的线程池管理方式
ServiceConfig 新增 Executor executor 
参数,用以服务间隔离的线程池,可以由用户配置化、提供自己想要的线程池,若没有指定,则会根据协议配置(ProtocolConfig)信息构建默认的线程池用以服务隔离。

如题我有个疑问,executor-management-mode = isolation 
如果没有为每个service指定线程池,dubbo不会默认为每一个service创建一个线程池吗,会使用公共线程池吗?
我目前debug的结果,是不会自动为没有指定线程池的service创建线程池的,会使用端口作为key的线程池
想请问下各位大佬我得出的结论是否正确呢

### Code of Conduct

- [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


GitHub link: https://github.com/apache/dubbo/discussions/15686

----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@dubbo.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to