以下是在Ubuntu上優化Kafka啟動速度的方法:
-Xmx
-Xms
num.network.threads
num.io.threads
batch.size
linger.ms
ulimit -n 65536
net.core.somaxconn
net.ipv4.tcp_max_syn_backlog