Kafka - Avinashlikes/Wiki GitHub Wiki
-
grep a port if it is running
netstat -nlp|grep 2181 ps -ef | grep java
-
Start Kafka-zookeeper
bin/zookeeper-server-start.sh config/zookeeper.properties
it will start zookeeper , need to check whether it is running or not. we can run a command
telnet localhost 2181 [in a new console] get connected with localhost
> stat [in the same console]we will write stat in the same console to see the statis
-
Start kafka Server[broker]
bin/kafka-server-start.sh config/kafka-server.properties
it will start kafka server broker service.
-
Commandbin/connect-standalone.sh config/connect-standalone.properties config/connect-file-source.properties config {/connect-file-sink.properties}