bookdeMacBook-Air:~ book$ brew install kafka
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
bcoin git-remote-codecommit
==> Updated Formulae
afflib broot dvdauthor gatsby-cli healpix libdvdread lsdvd octave pianobar syncthing
b2-tools calceph dvdbackup gl2ps helmfile libfreenect mpv opencv@3 repo
bettercap contentful-cli firebase-cli grails libdvdnav librsync newman ortp serverless
==> Installing dependencies for kafka: zookeeper
==> Installing kafka dependency: zookeeper
==> Downloading https://homebrew.bintray.com/bottles/zookeeper-3.5.7.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/da/da26560dd346476ebfa0e5bd7148020ce71053aeeb6a65b0b60e4307844e5574?__gda__=exp=1586409641~hmac=cfdb1ca60874925a99970fe010fb303a7df
######################################################################## 100.0%
==> Pouring zookeeper-3.5.7.high_sierra.bottle.tar.gz
==> Caveats
To have launchd start zookeeper now and restart at login:
brew services start zookeeper
Or, if you don't want/need a background service you can just run:
zkServer start
==> Summary
🍺 /usr/local/Cellar/zookeeper/3.5.7: 394 files, 11.3MB
==> Installing kafka
==> Downloading https://homebrew.bintray.com/bottles/kafka-2.4.1.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/af/af2e8113b36f680291fb199f0554ba45d14e67fe733cdc1d18682c0a9fb7fc21?__gda__=exp=1586409657~hmac=e8ab55cd7332aedb872756d8f8e6c5e63da
######################################################################## 100.0%
==> Pouring kafka-2.4.1.high_sierra.bottle.tar.gz
==> Caveats
To have launchd start kafka now and restart at login:
brew services start kafka
Or, if you don't want/need a background service you can just run:
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
==> Summary
🍺 /usr/local/Cellar/kafka/2.4.1: 186 files, 59.5MB
==> Caveats
==> zookeeper
To have launchd start zookeeper now and restart at login:
brew services start zookeeper
Or, if you don't want/need a background service you can just run:
zkServer start
==> kafka
To have launchd start kafka now and restart at login:
brew services start kafka
Or, if you don't want/need a background service you can just run:
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
bookdeMacBook-Air:~ book$ brew services start zookeeper
==> Tapping homebrew/services
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 698 (delta 0), reused 3 (delta 0), pack-reused 691
Receiving objects: 100% (698/698), 193.18 KiB | 88.00 KiB/s, done.
Resolving deltas: 100% (272/272), done.
Tapped 1 command (39 files, 266.9KB).
==> Successfully started `zookeeper` (label: homebrew.mxcl.zookeeper)
bookdeMacBook-Air:~ book$ brew services start kafka
==> Successfully started `kafka` (label: homebrew.mxcl.kafka)
bookdeMacBook-Air:~ book$
mac安装kafka
最新推荐文章于 2024-03-29 21:47:30 发布