maxAttempt renamed maxAttempts
For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append.mdto anykestra.io/docs/*URL for plain Markdown.
maxAttempt renamed maxAttempts
For retries, the maxAttempt property has been renamed with an alias to maxAttempts to promote proper English grammar. This is a non-breaking change, but update all flows to use the correctly named property as a long-term safeguard.
Before
The following example defines a retry for the retry_sample task with a maximum of 5 attempts every 15 minutes:
yaml- id: retry_sample
type: io.kestra.plugin.core.log.Log
message: my output for task {{task.id}}
timeout: PT10M
retry:
type: constant
maxAttempt: 5 # This name will still work, but it is recommended to search and replace in your flows.
interval: PT15MAfter
The following example defines a retry for the retry_sample task with a maximum of 5 attempts every 15 minutes:
yaml- id: retry_sample
type: io.kestra.plugin.core.log.Log
message: my output for task {{task.id}}
timeout: PT10M
retry:
type: constant
maxAttempts: 5 # The correct, long-term naming convention
interval: PT15M