Skip to content

consul watch, the server is offline and will not receive any notification #3310

Closed as not planned
@noovertime7

Description

@noovertime7

What happened:

使用consul作为注册中心,当服务端离线时并不会收到任何通知,无法触发离线的回调

What you expected to happen:

服务端离线使用watch收到通知

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

使用etcd是可以的

Environment:

  • Kratos version (use kratos -v):kratos version v2.7.3
  • Go version (use go version): go version go1.21.2 darwin/arm64
  • OS (e.g: cat /etc/os-release): mac book
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions