# the directory where the snapshot is stored.dataDir=/tmp/zookeeper# the port at which the clients will connectclientPort=2181# disable the per-ip limit on the number of connections since this is a non-production configmaxClientCnxns=0bin/zookeeper-server-start.sh config/zookeeper.properties# The minimum age of a log file to be eligible for deletion due to agelog.retention.hours=168# A size-based retention policy for logs. Segments are pruned from the log unless the remaining# segments drop below log.retention.bytes. Functions independently of log.retention.hours.#log.retention.bytes=1073741824# The maximum size of a log segment file. When this size is reached a new log segment will be created.log.segment.bytes=1073741824# The interval at which log segments are checked to see if they can be deleted according# to the retention policieslog.retention.check.interval.ms=300000##### Zookeeper ############################## Timeout in ms for connecting to zookeeperzookeeper.connection.timeout.ms=6000bin/kafka-server-start.sh config/server.propertiesbin/kafka-topics.sh \ --create --zookeeper localhost:2181 \ --replication-factor 1 \ --partitions 1 \ --topic test \ bin/kafka-topics.sh --list --zookeeper localhost:2181No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.