Rate This Document
Findability
Accuracy
Completeness
Readability

Running and Verifying Kafka

  1. Run the following commands on agent1 to agent3 to start Kafka:
    1
    2
    cd /usr/local/kafka/bin
    ./kafka-server-start.sh -daemon ../config/server.properties
    
  2. Run the following command on each node to check whether all processes are started properly.
    1
    jps
    

    Processes started on agent1 are the same as those on other agent nodes. No process needs to be started on server nodes.

  3. Run the following commands on agent1 to agent3 to stop Kafka:
    1
    2
    cd /usr/local/kafka/bin
    ./kafka-server-stop.sh