diff --git a/registry/consul/registry.go b/registry/consul/registry.go
index 415bf428607e301e619b2beea131bdd66fd207b4..5a4524c047eddfbe201d4cf767989a0b3a7d073b 100644
--- a/registry/consul/registry.go
+++ b/registry/consul/registry.go
@@ -121,7 +121,7 @@ func (r *consulRegistry) Subscribe(url *common.URL, notifyListener registry.Noti
 
 // UnSubscribe :
 func (r *consulRegistry) UnSubscribe(url *common.URL, notifyListener registry.NotifyListener) {
-
+	panic(" UnSubscribe not support in consulRegistry ")
 }
 
 func (r *consulRegistry) subscribe(url *common.URL, notifyListener registry.NotifyListener) {
diff --git a/registry/nacos/registry.go b/registry/nacos/registry.go
index b2caa39459706869920fef18e24fa9913d789bd7..e70de75708a11d222fa4df1b621c04f007865e54 100644
--- a/registry/nacos/registry.go
+++ b/registry/nacos/registry.go
@@ -138,7 +138,7 @@ func (nr *nacosRegistry) Register(url common.URL) error {
 
 // UnRegister
 func (nr *nacosRegistry) UnRegister(conf common.URL) error {
-
+	panic(" UnRegister not support in nacosRegistry ")
 	return nil
 }
 
@@ -182,7 +182,7 @@ func (nr *nacosRegistry) Subscribe(url *common.URL, notifyListener registry.Noti
 
 // UnSubscribe :
 func (nr *nacosRegistry) UnSubscribe(url *common.URL, notifyListener registry.NotifyListener) {
-
+	panic(" UnSubscribe not support in nacosRegistry ")
 }
 
 func (nr *nacosRegistry) GetUrl() common.URL {