Skip to content

Commit

Permalink
[incubator-kie-issues-1682] Add kafka network alias (#3814)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmunozfe authored Dec 13, 2024
1 parent fc9ae66 commit 4ad181e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public KogitoKafkaContainer() {
withExposedPorts(KAFKA_PORT);
withCreateContainerCmdModifier(cmd -> cmd.withEntrypoint("sh"));
withCommand("-c", "while [ ! -f " + STARTER_SCRIPT + " ]; do sleep 0.1; done; " + STARTER_SCRIPT);
withNetworkAliases("kafka");
waitingFor(Wait.forLogMessage(".*Started Kafka API server.*", 1).withStartupTimeout(Constants.CONTAINER_START_TIMEOUT));
}

Expand Down

0 comments on commit 4ad181e

Please sign in to comment.