Spring Cloud Task 1.1.0.RC1 发布了,此版本继续改进 1.1.0 的主要主题,即改进整体任务功能以及将 Spring XD 中存在的功能迁移到 Spring Cloud Task。该版本更新内容如下:
Updated error message handling - 1.1.0 adds a new column to the TASK_EXECUTION table, ERROR_MESSAGE. This new column will be where any exception that is thrown causing the failure of a task to be recorded (this is changed from the EXIT_MESSAGE field in previous versions). This change allows for the EXIT_MESSAGE field to be better utilized for orchestration of tasks.
Improved options for customizing the launch of partitioned job workers - When using the DeployerPartitionHandler, 1.1.0 now provides abstractions around customizing the environment variables and command line arguments on a per partition basis.
Support for external execution id - When executing a task on a PaaS or other cloud infrastructure, there is typically a mapping that needs to occur between the task’s execution id and the id provided by the underlying system. This feature provides the ability to correlate those two for things like log management, audit, etc.
Support externalized task execution recording - This capability goes along with the support for an external execution id in that this allows the launching system to record a task execution’s existence prior to it’s start.
DB2 Support - Thanks to community for adding the DB2 support for Task Repository.
Partition Job Samples - Checkout the updated partitioned batch-job sample and the updated instructions on how to orchestrate them as short-lived Tasks in Local, Cloud Foundry, Mesos, YARN and Kubernetes.
软件详情:https://spring.io/blog/2016/11/07/spring-cloud-task-1-1-0-rc1-is-now-available
下载地址:https://github.com/spring-cloud/spring-cloud-task/archive/1.1.0.RC1.zip
来自:开源中国社区

