mostafa / xk6-kafka

k6 extension to load test Apache Kafka with support for various serialization formats, SASL, TLS, compression, Schema Registry client and beyond
Apache License 2.0
145 stars 61 forks source link

Creating Connection object failed on `EOF` #274

Open AdiHaim opened 6 months ago

AdiHaim commented 6 months ago

Hi @mostafa ,

I have been tried to create new Connection object for control my creation and deletion off topic via my test but i get error of Failed to get controller., OriginalError: EOF error="Failed to get controller., OriginalError: EOF", I'm trying to connect to my kafka cluster in Confluent Cloud. For new Writer or new Reader it is not happening and i verified my role (I'm ClusterAdmin and EnvironmentAdmin).

My environment: kafka cluster - Confluent Cloud k6: k6 v0.49.0 (go1.21.0, darwin/arm64) Extensions: github.com/grafana/xk6-output-influxdb v0.4.2, xk6-influxdb [output] github.com/mostafa/xk6-kafka v0.22.0, k6/x/kafka [js]

mostafa commented 6 months ago

Hey @AdiHaim,

Can you provide a snippet? Please remove sensitive information before posting.