XiaoyiPeng edited a comment on issue #3781:
URL: https://github.com/apache/rocketmq/issues/3781#issuecomment-1019024783


   > callbackExecutor,2cpu个线程,队列长度为50000,线程池拒绝策略为:AbortPolicy
   
   The `AbortPolicy` has no effect for `callbackExecutor`, because when 
`callbackExecutor` catch `RejectedExecutionException` in the external invoked 
thread, it does not throw  exception to the upper layer.
   
   As shown below: 
   
   
![image](https://user-images.githubusercontent.com/8653312/150621993-ddbef5d8-0856-41d6-801a-b121d065c475.png)
   
   
   
   
   **So no matter which rejection policy is set for** `callbackExecutor`, **the 
final real policy is the** `CallerRunsPolicy`.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to