- ./kafka-topics.sh --zookeeper localhost:2181 --alter --topic HIK_TOPIC --config retention.ms=60000
- ./kafka-configs.sh --zookeeper localhost:2181 --alter --entity-name SNAP_IMAGE_INFO_TOPIC --entity-type topics --add-config retention.ms=10800000
- ./kafka-configs.sh --zookeeper localhost:2181 --describe --entity-name SNAP_IMAGE_INFO_TOPIC --entity-type topics
- 1)统计80端口连接数
netstat -nat|grep -i "80"|wc -l