Mongey/terraform-provider-kafka

Low performance with TF > 1.3.0

sveba opened this issue · 4 comments

sveba commented

Hi,

I have a really slow performance in combination with terrafrom version > 1.3.0
I have no idea what it can be. The plan takes the same time as with lower versions, but the apply takes 5 times longer.

Our setup has about 16000 objects (topics + acls) in the state.
So I add ONE topic and the result with the different tf versions is this:

Terraform 1.2.8

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

real    5m35.249s
user    0m0.330s
sys     0m0.712s

Terraform 1.3.1

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

real    23m7.216s
user    0m0.364s
sys     0m0.755s

HI @sveba , that is very strange, can you provide details go what OS you're encountering this on?

sveba commented

@Mongey SLES15SP3 amd64. I'm digging into the TRACE-Log, but cannot find anything that can help. And the whole LOG is 900MB :)

I'm seeing this same behavior using terraform 1.4.4 and version 0.4.1 of the provider

Updated the provider to 0.5.3 and also fixed a SG rule preventing the provider to reach some of the clusters.