centos kafka使用和python生产和消费消息
安装Kafka1.更新系统sudo yum install epel-release -ysudo yum update -y2.安装jdksudo yum install -y java-1.8.0-openjdkjava -version3.配置java环境变量查看java环境变量echo $JAVA_HOME配置环境变量echo "JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")" | sudo tee
原创
2021-06-29 14:53:12 ·
190 阅读 ·
0 评论