Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable retry_policys #21469

Open
pront opened this issue Oct 9, 2024 · 0 comments
Open

Configurable retry_policys #21469

pront opened this issue Oct 9, 2024 · 0 comments
Labels
domain: config Anything related to configuring Vector type: feature A value-adding code addition that introduce new functionality.

Comments

@pront
Copy link
Contributor

pront commented Oct 9, 2024

Motivation

Currently, retry policies are documented for each sink but are not configurable. Some users may require a more aggressive retry policy. The purpose of the new retry_policy option is to provide flexibility, allowing users to define which status codes will trigger retries.

Flexibility

The default behavior will remain the same, but users will now have the ability to override it globally or on a per-sink basis. This approach enables custom configurations without breaking the existing default behavior.

Implementation

The retry_policy option can be a VRL condition, similar to this one.

@pront pront added domain: config Anything related to configuring Vector type: feature A value-adding code addition that introduce new functionality. labels Oct 9, 2024
@pront pront changed the title Add a new retry_policy global option Configurable retry_policys Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: config Anything related to configuring Vector type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

1 participant