zookeeper.properties配置文件
# the directory where the snapshot is stored.
dataDir=/usr/local/kafka_2.11-1.1.0/data
# the port at which the clients will connect
clientPort=2181
# disable the per-ip limit on the number of connections since this is a non-production config
maxClientCnxns=0
server.properties配置文件
# The id of the broker. This must be set to a unique integer for each broker.
broker.id=0
log.dirs=/usr/local/kafka_2.11-1.1.0/kafka-logs
############################# Zookeeper #############################
zookeeper.connect=localhost:2181
zookeeper.connection.timeout.ms=6000