| Feature name | Change type | Description | References |
| Execution thread model adjustment (Important for upgrades) | New | - The default execution thread pool model for tasks is changed to a shared thread pool.
If all tasks share the same execution thread pool, the concurrency configured for individual Map subtasks does not take effect. To keep the original behavior, configure the spring.schedulerx2.shareContainerPool=false parameter. In the previous model, an execution thread pool was created for each execution. This caused high thread load pressure for applications that have many tasks and a high execution frequency. - Processor-level thread pool models are supported. See the following configuration example.
Configure a separate execution thread pool for a specific processor. Use the prefix spring.schedulerx2.processorPoolSize. and append the executor class name to create the property key. Set the value to the desired pool size. For example: spring.schedulerx2.processorPoolSize.SimpleHelloProcessor=5. - Job-level thread pool models are supported. See the following configuration example.
Configure a separate execution thread pool for each job: spring.schedulerx2.threadPoolMode=job. - Supports scheduling for native Kubernetes cron jobs.
| None |
| Asynchronous dispatch | New | Broadcast tasks support asynchronous dispatch. This feature is disabled by default. Use the following parameters to enable it:- spring.schedulerx2.broadcastDispatchThreadEnable=true
- spring.schedulerx2.broadcastDispatchThreadNum=5
| None |
| Map task optimization | Improvement | Optimized the performance of Map tasks during large-scale application releases and scale-ins. | None |
| Bug fixes | Fix | - Fixed an issue where the number of threads for broadcast tasks continuously increased in version 1.7.X.
- Fixed a memory leak in the shared thread pool model.
- Fixed an issue where dynamic proxy objects could not execute the Reduce operation.
- Fixed an issue where acknowledgement merges were lost for second-level task executions.
| None |