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

Add options for connection and topology recovery to performance tool #427

Closed
acogoluegnes opened this issue Sep 22, 2023 · 1 comment
Closed
Labels
enhancement New feature or request performance-tool
Milestone

Comments

@acogoluegnes
Copy link
Contributor

No description provided.

@acogoluegnes acogoluegnes added enhancement New feature or request performance-tool labels Sep 22, 2023
@acogoluegnes acogoluegnes added this to the 0.13.0 milestone Sep 22, 2023
acogoluegnes added a commit that referenced this issue Sep 22, 2023
To force the use of a replica for consumers. The library
tries 5 times before falling back to the stream leader when
the flag is set to true (default is false, to favor faster
recovery).

The stream leader is started first and a replica can start
a few seconds later, so with bad timing a consumer can see
only the leader when it recovers. Setting the flag to true
will force the library to retry a few times to use a replica
if one becomes available.

The performance tool has also the corresponding flag now:
--force-replica-for-consumers.

This commit also adds the following options to the performance tool:
--hearbeat, --connection-recovery-interval,
--topology-recovery-interval.

Fixes #426, #427
@acogoluegnes
Copy link
Contributor Author

Fixed in #424.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance-tool
Projects
None yet
Development

No branches or pull requests

1 participant