mpareja opened a new pull request, #15345: URL: https://github.com/apache/kafka/pull/15345
#### Reproduction Run Kafka in Docker with the `KAFKA_HEAP_OPTS` environment variable set ```bash $ docker run -e KAFKA_HEAP_OPTS="-Xmx128m -Xms128m" apache/kafka:3.7.0-rc2 ``` #### Expected Kafka launches with the appropriate Xms and Xmx values. #### Unexpected Kafka crashes with the following log message: ```bash .... ===> Using provided cluster id 5L6g3nShT-eMCtK--X86sw ... Exception in thread "main" org.apache.kafka.common.config.ConfigException: Missing required configuration `zookeeper.connect` which has no default value. at kafka.server.KafkaConfig.validateValues(KafkaConfig.scala:2294) at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:2285) at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1634) at kafka.tools.StorageTool$.$anonfun$main$1(StorageTool.scala:52) at scala.Option.flatMap(Option.scala:283) at kafka.tools.StorageTool$.main(StorageTool.scala:52) at kafka.docker.KafkaDockerWrapper$.main(KafkaDockerWrapper.scala:47) at kafka.docker.KafkaDockerWrapper.main(KafkaDockerWrapper.scala) ``` ### Proposed Change I suspect (but have not rebuilt to confirm) that this is related to a typo in the `ExcludeServerPropsEnv` field in the `KafkaDockerWrapper`. -- 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