kafka start and start commands es

** 6. Start zookeeper **

```
/opt/kafka/bin/zookeeper-server-start.sh /opt/kafka/config/zookeeper.properties
```

** 7. Start kafka **

```
/opt/kafka/bin/kafka-server-start.sh /opt/kafka/config/server.properties
```

View topic: If we run the command list topic, we can now see that the topic

/opt/kafka/bin/kafka-topics.sh --list --zookeeper localhost:2181

11. Start Consumers **

`` `
/Opt/kafka/bin/kafka-console-consumer.sh --bootstrap-Server 192.168.25.133:9092 --topic --from-1704d Beginning starting from the first receiving
/ opt / kafka / bin / kafka -console-consumer.sh --bootstrap-server 192.168.25.133:9092 --topic 1704D sent from the producers now started to accept.
`` `
Start es

su es /opt/es/bin/elase...
启动head cd /head cnpm run start

Guess you like

Origin www.cnblogs.com/tang0125/p/12651322.html