Skip to content

Commit

Permalink
[incubator-kie-issues-1682] Add kafka network alias
Browse files Browse the repository at this point in the history
  • Loading branch information
gmunozfe committed Dec 12, 2024
1 parent fc9ae66 commit 485424b
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 485424b

Please sign in to comment.