说明:
kafka依赖java环境,需要先安装jdk并在cmd中运行java -version 能够正常显示java版本号
1.下载kafka (版本:kafka_2.12-2.3.0):
http://kafka.apache.org/downloads.html
2.解压后修改zookeeper配置文件: kafka_2.12-2.3.0\config\zookeeper.
说明:
kafka依赖java环境,需要先安装jdk并在cmd中运行java -version 能够正常显示java版本号
1.下载kafka (版本:kafka_2.12-2.3.0):
http://kafka.apache.org/downloads.html
2.解压后修改zookeeper配置文件: kafka_2.12-2.3.0\config\zookeeper.
Environmental convention: system os: centos 6
java version: “1.8.0_191”
zookeeper version: 3.4.13
zookeeper1 ip: 192.168.10.101
zookeeper2 ip: 192.168.10.102
zookeeper3 ip: 192.168.10.103
zookeepe
Use 2 servers, low resources, and deploy 3 zookeeper distributed nodes:
1. Prepare the environment
The system has been configured with the JAVA environment;
download one Version of the zook
Google’s three papers have affected many, many people and many systems. These three papers have always been classics in the distributed field. According to MapReduce, so we have Hadoop; according t
Foreword The previous two articles mainly talked about the client-server session-related content, so here is the content of the client and the content of the client-server connection. Basically com
ZooKeeper is a distributed, open source distributed application coordination service, an open source implementation of Google’s Chubby, and an important component of Hadoop and Hbase. It is a softw
pom introduces the corresponding jar package
1. System requirement ZooKeeper can run on a variety of system platforms, as shown in Table 1 The system platform supported by zk and whether the development environment or production environment i
1. Zookeeper architecture The zookeeper server runs in two modes: standalone mode and quorum mode. Independent mode: There is a single server, and the zookeeper status cannot be replicated. Arbitra
Original text: Using Zookeeper to realize distributed lock and service registration center
For the definition and principle of Zookeeper, there are already many excellent articles on the Inte