broker.id |
0 |
多个Kafka服务不能相同 |
port |
9092 |
KAFKA绑定的端口 |
zookeeper.connect |
localhost:2181 |
ZooKeeper的连接URL |
zookeeper.connection.timeout.ms |
1000000 |
ZooKeeper的超时连接时间 |
log.dirs |
/tmp/kafka-logs |
#host.name=HDP125 |
无 |
主机名 |
#advertised.host.name |
HDP125 |
|
#advertised.port |
9092 |
|
num.network.threads |
2 |
|
num.io.threads |
8 |
socket.send.buffer.bytes |
1048576 |
socket.receive.buffer.bytes |
1048576 |
socket.request.max.bytes |
104857600 |
num.partitions |
2 |
#log.flush.interval.messages |
10000 |
#log.flush.interval.ms |
1000 |
log.retention.hours |
168 |
#log.retention.bytes |
1073741824 |
log.segment.bytes |
536870912 |
log.retention.check.interval.ms |
60000 |
log.cleaner.enable |
false |