Skip to content

[Enhancement] Adding Rejected Policy Parameters to the ThreadPoolMonitor Construction Method #7315

@CLFutureX

Description

@CLFutureX

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

Adding rejection Policy Parameters to the ThreadPoolMonitor ,Convenient for caller's setting of rejection Policy

Motivation

When setting the rejection policy for the current caller, it is necessary to first create the thread pool and then set the rejection policy. The creation of the thread pool originally supports the rejection policy, and it should not be separated from the setting of the rejection policy.

for example:
path: org.apache.rocketmq.proxy.grpc.v2.GrpcMessagingApplication#GrpcMessagingApplication
first create the thread pool and then set the rejection policy.
image

Describe the Solution You'd Like

Adding rejection Policy Parameters to the ThreadPoolMonitor and to support setting rejection policies when creating

Describe Alternatives You've Considered

There should be no need for other solutions

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions