The 1.12.x
release added following changes based on the 1.11.x
release:
setAllowCoreThreadTimeOut(true)
for the workflow/activity workers.setTaskExecutorThreadPoolSize()
and getTaskExecutorThreadPoolSize()
methods 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.SpringGracefulShutdownActivityWorker
and SpringGracefulShutdownWorkflowWorker
classes. The SpringActivityWorker
and SpringWorkflowWorker
have the graceful shutdown logic in themselves.SimpleWorkflowClientConfig
for tuning HTTP request timeouts of SWF APIs.RegisterActivityType
and RegisterWorkflowType
throttling.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.