Skip to content

[Improvement][Registry] SubscribeListener support set scope #16985

@ruanwenjun

Description

@ruanwenjun

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Right now, the SubscribeListener can only support subscribe all events which include children and itself event of the watched path.
Sometimes we only want to listen the children change, e.g. we subscribe the master nodes change we want to listen the /nodes/master/xx we don't care the /nodes/master itself, once we receive a event from /nodes/master will throw exception when deserialize the data.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions