CDH5.16.1升级kafka0.10到1.0.1

时间:2024-09-25 13:08:14

激活1.0.1的包
CDH5.16.1升级kafka0.10到1.0.1
然后重启各个节点
CDH5.16.1升级kafka0.10到1.0.1
CDH5.16.1升级kafka0.10到1.0.1
检查kafka版本是否升级成功
CDH5.16.1升级kafka0.10到1.0.1
CDH5.16.1升级kafka0.10到1.0.1
版本升级成功
CDH5.16.1升级kafka0.10到1.0.1
验证之前的topic是否可用
生产者启动 
[cloudera-scm@cdh4 parcel-repo]$ /opt/cloudera/parcels/KAFKA-2.1.1-1.2.1.1.p0.18/lib/kafka/bin/kafka-console-producer.sh --broker-list cdh1:9092,cdh2:9092,cdh3:9092 --topic test
CDH5.16.1升级kafka0.10到1.0.1
消费者启动 没有问题,完美兼容 
[cloudera-scm@cdh4 ~]$ /opt/cloudera/parcels/KAFKA-2.1.1-1.2.1.1.p0.18/lib/kafka/bin/kafka-console-consumer.sh -zookeeper cdh1,cdh2,cdh3:2181 --from-beginning --topic test
CDH5.16.1升级kafka0.10到1.0.1