limit memory

This commit is contained in:
skiffer-git 2022-11-04 15:00:54 +08:00
parent d33e15a2bb
commit 83779a684b

View File

@ -81,6 +81,7 @@ services:
KAFKA_LISTENERS: INSIDE://:9092,OUTSIDE://:9093
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: "INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT"
KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
KAFKA_HEAP_OPTS: "-Xmx512M -Xms256M"
depends_on:
- zookeeper