最近需要安装kafka,所以选择了confluent来管理kafka
环境准备:jdk1.8+
一、安装confluent
官方站点https://www.confluent.io/
官方文档http://docs.confluent.io/current/control-center/docs/quickstart.html#base-installation
这里我们选择Enterprise企业版
下载地址https://packages.confluent.io/archive/5.5/confluent-5.5.1-2.12.tar.gz
[root@localhost ~]# wget https://packages.confluent.io/archive/5.5/confluent-5.5.1-2.12.tar.gz
[root@localhost ~]# mv confluent-5.5.1-2.12.tar.gz usr/local
[root@localhost ~]# cd /usr/local/
[root@localhost local]# tar -zxvf confluent-5.5.1-2.12.tar.gz
[root@localhost local]# cd /usr/local/confluent-5.5.1/bin
[root@localhost bin]# "/usr/local/confluent-5.5.1/bin/confluent" local start
The local commands are intended for a single-node development environment
only, NOT for production usage. https://docs.confluent.io/current/cli/index.html
Using CONFLUENT_CURRENT: /tmp/confluent.dSCCLAd7
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
Starting schema-registry
schema-registry is [UP]
Starting kafka-rest
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
Starting control-center
control-center is [UP]
可以看到zookeepeer、kafka等服务启动
访问面板http://ip:9021/