我正在尝试使用monstache集成mongoDB和elasticsearch,但是我遇到了这个错误。请帮助我解决这个问题。我会回复所有你想要的输出。
配置toml文件
mongo-url = "mongodb+srv://prince:mypassword@cluster0.mp297.mongodb.net/?retryWrites=true&w=majority"
elasticsearch-urls = ["http://127.0.0.1:9200"]
elasticsearch-max-conns = 10
replay = false
resume = true
enable-oplog = true
resume-name = "default"
namespace-regex = '^Satellite\.posts$'
direct-read-namespaces = ["Satellite.posts"]
change-stream-namespaces = ["Satellite."]
index-as-update = true
verbose = true
exit-after-direct-reads = false
[[mapping]]
namespace = "Satellite.posts"
index = "satellite"
1条答案
按热度按时间s5a0g9ez1#
解决方案以下是适用于我的更新toml文件-