For the complete documentation index, see llms.txt. This page is also available as Markdown.

1.FAQ

6.1.1 Enable Zookeeper

When your zookeeper version is after 3.5, you need to open zkcli permission to repair the script content. The modification code is as follows:

vi zkServer.sh
...
// zookeeper enable client commands
ZOOMAIN="-Dzookeeper.4lw.commands.whitelist=* ${ZOOMAIN}"

6.1.2 Kafka Enable JMX PORT

If your data is empty, check that the port of JMX is started . If you do not start, you can edit the script before you start.

vi kafka-server-start.sh
...
if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
    export KAFKA_HEAP_OPTS="-server -Xms2G -Xmx2G -XX:PermSize=128m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=8 -XX:ConcGCThreads=5 -XX:InitiatingHeapOccupancyPercent=70"
    export JMX_PORT="9999"
fi

Last updated