摘要: 简介 MongoDB的 explain() 函数可以帮助我们查看查询相关的信息,这有助于快速定位查询瓶颈。 基本用法 基本命令 db.dev.find({name:/^zhang/, age:{$gt:15}}).explain() 直接跟在 find() 函数后面,表示查看 find() 函数的执 阅读全文
posted @ 2021-09-02 09:18 仅此而已-远方 阅读(1841) 评论(0) 推荐(0) 编辑
摘要: 重复消费 某个消费者组已经将消息消费了,如果想重复消费,可以使用如下步骤: 1、在 kafka/config 目录下,拷贝一份 consumer.properties 文件,比如 consumer_xwj.properties 2、修改 consumer_xwj.properties 文件,将gro 阅读全文
posted @ 2021-09-02 09:06 仅此而已-远方 阅读(304) 评论(0) 推荐(0) 编辑