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

Implement retry backoff for GetConnector API calls #151

Open
dstrates opened this issue Aug 27, 2024 · 0 comments
Open

Implement retry backoff for GetConnector API calls #151

dstrates opened this issue Aug 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dstrates
Copy link

dstrates commented Aug 27, 2024

Description

We're experiencing flaky GetConnector behavior due to API calls failing when brokers are rebalancing. Although the client library seems to handle rebalances (see: go-kafka-connect issue #3), we could potentially implement safeguards to handle these cases better.

Suggestion: Implement retry backoff or a similar method to mitigate these issues. We could potentially use the retry mechanism outlined here: Terraform SDK v2 retries and timeouts.

Context

Frequently receiving the following error on Terraform apply:

Error: Get connector : {"error_code":500,"message":"Request cannot be completed because a rebalance is expected"}
@Mongey Mongey added the enhancement New feature or request label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants