Skip to content

Commit cad75df

Browse files
authored
Update Kafka image to 7.0.4 (micronaut-projects#42)
As of v 7.0.4, Confluent are generating ARM versions for their Kafka image 🎉 https://github.com/confluentinc/kafka-images/blame/5ba80298dcd8d4707555036917ee805b82ed6b87/Jenkinsfile#L20 This change moves from `6.2.1` to `7.0.4` (which seems to be the first one to support it). On an M1 mac, the startup time is 3s with 7.0.4 and 26s with 6.2.1
1 parent 10dd436 commit cad75df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-resources-kafka/src/main/java/io/micronaut/testresources/kafka/KafkaTestResourceProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public class KafkaTestResourceProvider extends AbstractTestContainersProvider<KafkaContainer> {
3232

3333
public static final String KAFKA_BOOTSTRAP_SERVERS = "kafka.bootstrap.servers";
34-
public static final String DEFAULT_IMAGE = "confluentinc/cp-kafka:6.2.1";
34+
public static final String DEFAULT_IMAGE = "confluentinc/cp-kafka:7.0.4";
3535

3636
@Override
3737
public List<String> getResolvableProperties(Map<String, Collection<String>> propertyEntries, Map<String, Object> testResourcesConfig) {

0 commit comments

Comments
 (0)