Skip to content

Update configuration to make retry attempts configurable. Deprecate `…#1885

Merged
vyazelenko merged 1 commit intoaeron-io:masterfrom
thughescmc:enable-configuration-of-aeron-archive-retry-attempts
Nov 12, 2025
Merged

Update configuration to make retry attempts configurable. Deprecate `…#1885
vyazelenko merged 1 commit intoaeron-io:masterfrom
thughescmc:enable-configuration-of-aeron-archive-retry-attempts

Conversation

@thughescmc
Copy link
Copy Markdown
Contributor

This is a rebased version of #1852 as requested. Sorry I missed the notifications before.

This pull request introduces a new configuration property for controlling the number of retry attempts when offering requests to the Aeron Archive, moving this setting from ArchiveProxy to the main configuration. It also updates the usage and documentation to reflect this change, deprecates the old constant in ArchiveProxy, and ensures that the value is configurable via the context and system properties.

…DEFAULT_RETRY_ATTEMPTS` and replace references with `MESSAGE_RETRY_ATTEMPTS_DEFAULT` in `ArchiveProxy` and `AeronArchive`.
Comment on lines +83 to +84
@Deprecated(since = "1.48.6", forRemoval = true)
public static final int DEFAULT_RETRY_ATTEMPTS = MESSAGE_RETRY_ATTEMPTS_DEFAULT;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why deprecate this field?

@vyazelenko vyazelenko merged commit fc2e7e8 into aeron-io:master Nov 12, 2025
43 checks passed
vyazelenko added a commit that referenced this pull request Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants