terraform-provider-kafka-connect
terraform-provider-kafka-connect copied to clipboard
Increase timeout
Is there a way to increase the timeout for creating/updating connectors? Kafka Connect can take a really long time when processing lots of connectors. I keep getting errors like this:
Error: error code: 500 , message: IO Error trying to forward REST request: java.net.SocketTimeoutException: Connect Timeout
on main.tf line 55, in resource "kafka-connect_connector" "oi":
55: resource "kafka-connect_connector" "oi" {
Re-running the apply a few times eventually finishes all the connectors.
I'm also experiencing this - over 150 connectors, initial provisioning took more than 10 applies to complete.
Hello, thanks for your work on this connector. Do you think it would be worth to add an option to increase this timeout?
Hi, Definitely yes. If creation time is bigger than 60 seconds timeout error is returned even if a connector is created. Next execution fails because the topic already exists and should be deleted manually. It would be great to have timeout option as a parameter that should be passed to provider.
Happy to have a look at this if I have some time.