[Q/A][Java SDK (Component)] dubbo3.3.5 使用executor-management-mode = isolation 如果没有为service指定线程池,dubbo不会默认为每一个service创建一个线程池吗 #15686
Unanswered
wxasacoder
asked this question in
Question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-check
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
Beta Was this translation helpful? Give feedback.
All reactions