当前位置: 首页> 汽车> 时评 > 什么是网页ui设计_团队拓展训练感悟_合肥seo优化公司_百度首页排名优化哪家专业

什么是网页ui设计_团队拓展训练感悟_合肥seo优化公司_百度首页排名优化哪家专业

时间:2025/7/13 10:42:59来源:https://blog.csdn.net/weixin_43874535/article/details/144901348 浏览次数: 0次
什么是网页ui设计_团队拓展训练感悟_合肥seo优化公司_百度首页排名优化哪家专业

版本号:kafka_2.12-3.7.0
说明:如有多个地址,用逗号分隔
创建主题

bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic demo --partitions 1 --replication-factor 1

删除主题

bin/kafka-topics.sh  --delete --bootstrap-server localhost:9092 --topic demo

查看所有主题

bin/kafka-topics.sh  --list  --bootstrap-server localhost:9092 

查看单个主题详细

bin/kafka-topics.sh  --bootstrap-server localhost:9092  --describe --topic test

查看所有消费组

bin/kafka-consumer-groups.sh --bootstrap-server  localhost:9092 --list

查看单个消费组情况

bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe  --group test_group

删除消费组

bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete --group test_group

数据保留时间

bin/kafka-configs.sh --bootstrap-server localhost:9092 --alter --entity-type topics --entity-name test --add-config retention.ms=3600000

参数解释:

  • --bootstrap-server localhost:9092:指定 Kafka broker 地址。
  • --alter:表示你要修改现有的配置。
  • --entity-type topics:指定要修改的对象类型是 topic。
  • --entity-name test:指定要修改的主题名称,这里是 test
  • --add-config retention.ms=3600000:设置 retention.ms 配置为 3600000 毫秒(1小时)。
关键字:什么是网页ui设计_团队拓展训练感悟_合肥seo优化公司_百度首页排名优化哪家专业

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: