Set Kafka max heap size

This commit is contained in:
Mark Veidemanis 2022-09-21 20:26:05 +01:00
parent bd3f1ecd53
commit 7abf9a00cb
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,7 @@ services:
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
ALLOW_PLAINTEXT_LISTENER: yes
KAFKA_HEAP_OPTS: -Xmx2g
# healthcheck:
# test: ["CMD-SHELL", "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --topic main --describe"]
# interval: 2s

View File

@ -120,6 +120,7 @@ services:
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
ALLOW_PLAINTEXT_LISTENER: yes
KAFKA_HEAP_OPTS: -Xmx2g
# healthcheck:
# test: ["CMD-SHELL", "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --topic main --describe"]
# interval: 2s