题目:kafka参数优化 答案: (1)broker参数配置(server.properties) (2)producer优化(producer.properties) (3)kafka内存调整(kafka-server-start.sh) 默认内存1个G,生产环境尽量不要超过6个G