# [Kafka](https://github.com/apache/kafka): 1. 启动zk org.hongxi.whatsmars.zk.ZKStartup 1. 启动kafka org.hongxi.whatsmars.kafka.KafkaStartup 1. 启动client org.hongxi.whatsmars.kafka.KafkaApplication linux:
启动zk ./zookeeper-server-start.sh ../config/zookeeper.properties
启动server ./kafka-server-start.sh ../config/server.properties
win:
修改bin/windows/kafka-server-start.bat set KAFKA_HEAP_OPTS=-Xmx512M -Xms512M
server.properties port=9092
启动zk zookeeper-server-start.bat ../../config/zookeeper.properties
启动server kafka-server-start.bat ../../config/server.properties
[kafka原理与特性](https://blog.csdn.net/javahongxi/article/details/85109383)