This is an automated email from the ASF dual-hosted git repository.
manikumar pushed a commit to branch 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.9 by this push:
new d9ebb2e79b8 MINOR: Add experimental message for the native docker
image (#17041)
d9ebb2e79b8 is described below
commit d9ebb2e79b80a14a93d77e78a1815b7345756c74
Author: Krishna Agarwal <[email protected]>
AuthorDate: Thu Aug 29 17:33:11 2024 +0530
MINOR: Add experimental message for the native docker image (#17041)
The docker image for Native Apache Kafka was introduced with KIP-974 and
was first release with 3.8 AK release.
The docker image for Native Apache Kafka is currently intended for local
development and testing purposes.
This PR intends to add a logline indicating the same during docker image
startup.
Reviewers: Manikumar Reddy <[email protected]>
---
docker/native/launch | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docker/native/launch b/docker/native/launch
index 05fa4132cb1..93de7aa9483 100755
--- a/docker/native/launch
+++ b/docker/native/launch
@@ -46,5 +46,7 @@ result=$(/opt/kafka/kafka.Kafka setup \
echo $result | grep -i "already formatted" || \
{ echo $result && (exit 1) }
+echo "WARNING: THIS IS AN EXPERIMENTAL DOCKER IMAGE RECOMMENDED FOR LOCAL
TESTING AND DEVELOPMENT PURPOSES."
+
KAFKA_LOG4J_CMD_OPTS="-Dkafka.logs.dir=/opt/kafka/logs/
-Dlog4j.configuration=file:/opt/kafka/config/log4j.properties"
exec /opt/kafka/kafka.Kafka start --config /opt/kafka/config/server.properties
$KAFKA_LOG4J_CMD_OPTS $KAFKA_JMX_OPTS ${KAFKA_OPTS-}