File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 <dependency >
4545 <groupId >org.testcontainers</groupId >
4646 <artifactId >testcontainers-bom</artifactId >
47- <version >1.17.5 </version >
47+ <version >1.20.2 </version >
4848 <type >pom</type >
4949 <scope >import</scope >
5050 </dependency >
Original file line number Diff line number Diff line change 1515import org .slf4j .Logger ;
1616import org .slf4j .LoggerFactory ;
1717import org .testcontainers .containers .GenericContainer ;
18- import org .testcontainers .containers .KafkaContainer ;
1918import org .testcontainers .containers .Network ;
2019import org .testcontainers .containers .output .Slf4jLogConsumer ;
2120import org .testcontainers .images .builder .ImageFromDockerfile ;
2221import org .testcontainers .junit .jupiter .Container ;
2322import org .testcontainers .junit .jupiter .Testcontainers ;
23+ import org .testcontainers .kafka .KafkaContainer ;
2424import org .testcontainers .utility .DockerImageName ;
2525
2626/**
@@ -44,7 +44,7 @@ class InventoryIT {
4444
4545 @ Container
4646 private static final KafkaContainer KAFKA =
47- new KafkaContainer (DockerImageName .parse ("confluentinc/cp- kafka:7.0.3 " ))
47+ new KafkaContainer (DockerImageName .parse ("apache/ kafka-native:3.8.0 " ))
4848 .withNetwork (NETWORK )
4949 .withNetworkAliases ("ourkafka" );
5050
You can’t perform that action at this time.
0 commit comments