Overview of DynamicTp Features
masterDynamicTp is a lightweight dynamic thread pool library that extends ThreadPoolExecutor to provide:
- Runtime Parameter Modification: Adjust core/max pool size, keep-alive time, etc., without redeployment.
- Monitoring & Alerting: Real-time status monitoring (20+ metrics) and notifications for config changes, thread activity, queue capacity, and rejections via WeCom, DingTalk, Feishu, Email, etc.
- Task Enhancement: Implement
TaskWrapperfor context propagation (e.g., MDC, TTL, OpenTelemetry). - Middleware Management: Integrated support for Tomcat, Jetty, Dubbo, RocketMQ, gRPC, and more.
- Extensibility: SPI-based architecture for custom configuration centers, alerting, metrics, and task wrapping.