Module
Kafka
Testcontainers version
1.18.0
Using the latest Testcontainers version?
Yes
Host OS
Mac
Host Arch
x86
Docker version
What happened?
When using Kafka module with Kraft mode, the container fails to start when using confluentinc/cp-kafka or confluentinc/cp-server images with version 7.4.0 or higher.
Relevant log output
No response
Additional Information
This behavior is due to an change on how the Confluent images are built.
- An explicit
CLUSTER_ID env var is now required
- Storage formatting is now part of the image making the usage of
commandKraft useless
Module
Kafka
Testcontainers version
1.18.0
Using the latest Testcontainers version?
Yes
Host OS
Mac
Host Arch
x86
Docker version
What happened?
When using Kafka module with Kraft mode, the container fails to start when using
confluentinc/cp-kafkaorconfluentinc/cp-serverimages with version 7.4.0 or higher.Relevant log output
No response
Additional Information
This behavior is due to an change on how the Confluent images are built.
CLUSTER_IDenv var is now requiredcommandKraftuseless