opensergo-control-plane
opensergo-control-plane copied to clipboard
Support unsubscribe config | 控制面支持取消订阅配置
控制面支持取消订阅(unsubscribe)某个 target 的配置。取消订阅的语义如下:
- 取消订阅由 client 发起 SubscribeConfig request,其中 opType=UNSUBSCRIBE
- Control plane 将该连接从该订阅组中移除;特别地,若该订阅组中已无连接(即发起 unsubscribe 的为最后一个订阅的连接),则 control plane 可以在一段静默期后从 CRD watcher 取消该分组的订阅关系。
Support unsubscribe OpenSergo config. Add a handler for the unsubscribe request.