Forum environment construction

1. Open MySQL

        Service-Start MySQL Open mysql workbench

2. Start redis

        Double-click redis-server.exe

3. Start kafka

[Start]
Open a cmd and start zookeeper

C:\Users\15642>d:

D:\>cd d:/work/kafka_2.12-2.2.0

d:\work\kafka_2.12-2.2.0>bin\windows\zookeeper-server-start.bat config\zookeeper.properties

Open another cmd and start kafka

C:\Users\15642>d:

D:\>cd d:/work/kafka_2.12-2.2.0

d:\work\kafka_2.12-2.2.0>bin\windows\kafka-server-start.bat config\server.properties

4. Start elasticsearch

        Double-click elasticsearch.bat under elasticsearch-6.4.3\bin

close environment

Open another cmd
to use Kafka's producer, create a topic, and send a message

C:\Users\15642>d:

D:\>cd work\kafka_2.12-2.2.0\bin\windows

D:\work\kafka_2.12-2.2.0\bin\windows>kafka-server-stop.bat

删除实例 \\DESKTOP-R3O58DJ\ROOT\CIMV2:Win32_Process.Handle="16672"
实例删除成功。

D:\work\kafka_2.12-2.2.0\bin\windows>zookeeper-server-stop.bat

删除实例 \\DESKTOP-R3O58DJ\ROOT\CIMV2:Win32_Process.Handle="9048"
实例删除成功。
删除实例 \\DESKTOP-R3O58DJ\ROOT\CIMV2:Win32_Process.Handle="8956"
实例删除成功。
删除实例 \\DESKTOP-R3O58DJ\ROOT\CIMV2:Win32_Process.Handle="7388"
实例删除成功。

Guess you like

Origin blog.csdn.net/weixin_56194193/article/details/132138855