Upgraded the Jackson dependencies to 2.13.x. Please check if your package is compatible with this major version of Jackson. We've received customer reports that Jackson upgrade (not necessarily Flow upgrade) can trigger deserialization error (for certain data types) in their workflows. To make it smooth, you'll need to bump up your workflow type accordingly and let old workflow executions drain out. Essentially you should use the same deployment strategy (e.g., have two fleets running two versions of workflows) as what you do for a workflow implementation change.
Removed the deprecated setTaskExecutorThreadPoolSize() and getTaskExecutorThreadPoolSize() from GenericActivityWorker and ActivityWorker. To configure the polling thread count and task execution thread count for your activity worker, please use setExecuteThreadCount() and getExecuteThreadCount() instead.
Removed the deprecated SpringGracefulShutdownActivityWorker and SpringGracefulShutdownWorkflowWorker classes from the AWSSimpleWorkflowJavaFlowSpring package. The SpringActivityWorker and SpringWorkflowWorker have the graceful shutdown logic in themselves.
Support SimpleWorkflowClientConfig for tuning Flow Framework HTTP Request Timeouts.
Improved the retry policy during worker startup to avoid startup failure due to RegisterActivityType and RegisterWorkflowType throttling.
Truncated stack trace to comply with the length limit of the details field in the RespondActivityTaskFailed API. Since the details field has a maximum length of 32768, SWF will return 400s if the original exception has a large stack trace. This change truncates the stack trace in case of detail length exceeded, by preserving the first stack trace element and logging the original stack trace.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: SWF-13061
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.