Setup
bin/kafka-topics.sh \
--zookeeper zookeeper.example.com:2181 \
--create \
Assuming that the following environment variables are set:
KAFKA_HOME
where Kafka is installed on local machine (e.g. /opt/kafka
)ZK_HOSTS
identifies running zookeeper ensemble, e.g. ZK_HOSTS=192.168.0.99:2181
KAFKA_BROKERS
identifies running Kafka brokers, e.g. KAFKA_BROKERS=192.168.0.99:9092
Start Zookepper and Kafka servers
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
First of all you need to be able to run MAMP in port 80. This is a "heat check" if you don't have any process jamming http ports. You can check it like this:
sudo lsof | grep LISTEN
If you do happen to have any process with something like this *:http (LISTEN)
, you are in trouble. Before with adventure check if it isn't MAMP itself (yeah, you should close that beforehand)
ps <pid of that process>
If you don't see MAMP, you are in good hands, I have just the thing for you: