We currently run Kafka container on ARM based machine (AWS Graviton).
We follow https://docs.confluent.io/platform/current/installation/docker/config-reference.html to pass configuration to Kafka:
Our docker command to start Kafka is:
$ docker run -d --network mynetwork --name=kafka -p9092:9092 -e KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092 -e KAFKA_LOG_RETENTION_BYTES=500000000 linuxforhealth/kafka-alpine:2.5.0
However, we find that certain configurations via environment variable work, while others don't.
E.g. for -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092, the configuratio is effective:
$ docker logs kafka | grep "advertised.listeners"
advertised.listeners = PLAINTEXT://kafka:9092
E.g. for -e KAFKA_LOG_RETENTION_BYTES=500000000, the configuration is not effective:
$ docker logs kafka | grep "log.retention.bytes"
log.retention.bytes = -1
Because of this problem, the disk ran out of space.
Please help. Thanks!
