forked from SiGuiyang/spring-cloud-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kafka
18 lines (18 loc) · 854 Bytes
/
kafka
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.3.0: 168 files, 54.2MB
==> 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
siguiyangdeMBP:~ siguiyang$