@Container
GenericContainer<?> setup =
- new GenericContainer<>("confluentinc/cp-kcat:7.4.1")
+ new GenericContainer<>("confluentinc/cp-kcat:7.4.0")
.withCreateContainerCmdModifier(cmd -> cmd.withEntrypoint("sh", "-c"))
.withNetwork(network)
.withCommand(
- "kafka-topics --bootstrap-server kafka:9999 --create --topic info_channel --partitions 3",
+ "kafka-topics --bootstrap-server kafka:9999 --create --topic info_channel --partitions 3; " +
"kafka-topics --bootstrap-server kafka:9999 --create --topic data_channel --partitions 10")
.dependsOn(kafka)
.withLogConsumer(new Slf4jLogConsumer(log, true).withPrefix("SETUP"));