Big data learning two - Kafka stand-alone deployment

1 background

Personal learning needs, so stand-alone deployment. In fact, the official also has very clear documentation:
https://kafka.apache.org/documentation/#quickstart

insert image description here

2 Download and extract

https://kafka.apache.org/downloads
I take 3.2.1 as an example here:

# wget https://downloads.apache.org/kafka/3.2.1/kafka_2.12-3.2.1.tgz

The download is in .tgz format, unzip it:

# tar -zxvf kafka_2.12-3.2.1.tgz 

3 Start the kafka environment

start zookeeper

# cd kafka_2.12-3.2.1/
# bin/zookeeper-server-start.sh config/zookeeper.properties &

start kafka

# bin/kafka-server-start.sh config/server.properties &

Check the process with jps:
insert image description here

Guess you like

Origin blog.csdn.net/weixin_29003023/article/details/126926236