[Solved] Kafka memory overflow: FATAL Fatal error during KafkaServerStartable startup. Prepare to shutdown

kafka memory overflow: FATAL Fatal error during KafkaServerStartable startup. Prepare to shutdown (kafka.server.)
This error occurs because.
The memory configuration for the kafka startup parameters is too small.
vim kafka02/bin/kafka-server-start.sh
if [ “x$KAFKA_HEAP_OPTS” = “x” ]; then
export KAFKA_HEAP_OPTS=”-Xmx256M -Xms256M”
fi

Similar Posts: