frankvicky commented on code in PR #18844: URL: https://github.com/apache/kafka/pull/18844#discussion_r1964654037
########## core/src/main/scala/kafka/docker/KafkaDockerWrapper.scala: ########## @@ -110,7 +110,9 @@ object KafkaDockerWrapper extends Logging { case Some(str) => str case None => throw new RuntimeException("CLUSTER_ID environment variable is not set.") } - Array("format", "--cluster-id=" + clusterId, "-c", s"${configsPath.toString}/server.properties", "--standalone") + // We maintain static voter configurations in Docker Hub images for better version compatibility and deployment stability, Review Comment: Currently, it will fail with the following message: ``` ===> User uid=1000(appuser) gid=1000(appuser) groups=1000(appuser) ===> Setting default values of environment variables if not already set. CLUSTER_ID not set. Setting it to default value: "5L6g3nShT-eMCtK--X86sw" ===> Configuring ... ===> Launching ... ===> Using provided cluster id 5L6g3nShT-eMCtK--X86sw ... Because controller.quorum.voters is not set on this controller, you must specify one of the following: --standalone, --initial-controllers, or --no-initial-controllers. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org