# the directory where the snapshot is stored. dataDir=/Users/shanhuiming/zooenv/kafka3.0.0/kafka1/zk-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 # Disable the adminserver by default to avoid port conflicts. # Set the port to something non-conflicting if choosing to enable this admin.enableServer=false # admin.serverPort=8080
# The id of the broker. This must be set to a unique integer for each broker. broker.id=1 # {listener名称}://{HOST/IP,默认0.0.0.0}:{PORT} listeners=PLAINTEXT://:9092