Running and Verifying Kafka
- 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
- Run the following command on each node to check whether all processes are started properly.
1jps

Processes started on agent1 are the same as those on other agent nodes. No process needs to be started on server nodes.
- Run the following commands on agent1 to agent3 to stop Kafka:
1 2
cd /usr/local/kafka/bin ./kafka-server-stop.sh
Parent topic: Deployment Guide (CentOS & openEuler)