Closed fdmota closed 2 years ago
Thanks for opening an issue!
Could you try https://github.com/confluentinc/terraform-provider-confluentcloud/issues/15#issuecomment-972131964?
It works but it feels like a workaround... Any plans to change this?
Any plans to change this?
We're anticipating a rate limit increase for a corresponding API as soon as TF provider goes into Preview / General Access from the current Early Access stage. Alternatively, we might be able to merge something similar to your smart fix which should work as well.
@fdmota could you share more details about your fix with throttle()
? It might be a good idea for us to implement something similar while waiting for a rate limit increase.
FYI in order to fix the issue we're going to implement a retry logic for 429
errors.
it was nothing very fancy. I created a quick sleep of 1 second to experiment if it would work.
func throttle () {
time.Sleep(1 * time.Second)
log.Printf("[INFO] Sleep Over.....")
}
👋 @fdmota @vilmosnagy please check out our most recent 0.4.0 release where we fixed the issue!
I get the following errors:
with code that looks like this:
I temporarily resolved the issue by adding a sleep of 1 second between calls in the provider
Is there a better solution?