kratos icon indicating copy to clipboard operation
kratos copied to clipboard

[Question] Why doesn’t Consul use the official watch for monitoring?

Open shcw opened this issue 1 year ago • 3 comments

为什么不使用官方提供的https://pkg.go.dev/github.com/hashicorp/consul/api/watch 而是要自己写定时循环 求解~

shcw avatar Jan 03 '24 10:01 shcw

🤖

你好,@shcw!👋 我是Dosu,一个可以帮助你解决bug、回答问题并成为贡献者的机器人。在等待人类维护者的同时,我在这里提供帮助。我正在查看你的问题,并将尽快给你一个完整的答案。请稍等,我会尽快回复你的!😊

dosubot[bot] avatar Jan 03 '24 10:01 dosubot[bot]

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🤖

Hello @shcw! 👋 I'm Dosu, a bot that can help you fix bugs, answer questions, and become a contributor. While waiting for human maintainers, I'm here to help. I'm reviewing your question and will give you a complete answer as soon as possible. Please wait a moment and I will get back to you as soon as possible! 😊

kratos-ci-bot avatar Jan 03 '24 10:01 kratos-ci-bot

The features supported by Consul Watch are incomplete and will not be used temporarily. Because we currently need to support Consul multiple DC

https://github.com/hashicorp/consul/issues/20065

shenqidebaozi avatar Jan 04 '24 03:01 shenqidebaozi

Hi, @shcw,

I'm helping the Kratos team manage their backlog and am marking this issue as stale. From what I understand, the issue was raised regarding Consul not using the official watch for monitoring, with a response explaining that this decision was made due to incomplete features and the temporary need to support Consul multiple DC.

Could you please confirm if this issue is still relevant to the latest version of the Kratos repository? If it is, please let the Kratos team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and cooperation. If you have any further questions or concerns, feel free to reach out.

dosubot[bot] avatar Apr 04 '24 16:04 dosubot[bot]