kafka-- Kafka basic configuration parameters explanation

Explanation of basic configuration parameters of Kafka

Parameter file: $KAFKA_HOME/config/server.properties

◆zookeeper.connect — zk cluster addresses, separated by commas

◆listeners — list of client addresses that kafka listens to, less used

◆broker.id — specifies the unique identifier in the kafka cluster

◆log.dir and log.dirs — all messages of Kafka need to be saved to the disk, there are concepts of leader and follower, so it must be flushed ◆message.max.bytes — the maximum message value that this broker can receive, The default is about 1M

おすすめ

転載: blog.csdn.net/weixin_39213232/article/details/132698569