You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/12/27 13:27:03 UTC
[GitHub] [dubbo-go] JiaLiangoooo commented on issue #749: 【consul】服务被interrupt之后,并不会立刻从注册中心消失
JiaLiangoooo commented on issue #749:
URL: https://github.com/apache/dubbo-go/issues/749#issuecomment-751467910
**目前register的URL与unregister的URL不是一样的,并不会从注册中心下线**
## register
```
2020-12-27T21:13:11.672+0800 INFO consul/utils.go:38 grpc://:20001/Ag2ChatImpl?application=chat&cluster=failover&interface=net.chat.service.Ag2ChatProvider&loadbalance=random&release=dubbo-golang-1.3.0×tamp=1609074791&warmup=100
2020-12-27T21:13:11.672+0800 INFO consul/registry.go:95 register--- grpc://192.168.1.102:20001/Ag2ChatImpl?application=chat&cluster=failover&interface=net.chat.service.Ag2ChatProvider&loadbalance=random&release=dubbo-golang-1.3.0×tamp=1609074791&warmup=100
2020-12-27T21:13:11.660+0800 INFO consul/utils.go:38 grpc://:20000/GrpcChatImpl?application=chat&cluster=failover&interface=net.chat.service.ChatProvider&loadbalance=chatbl&release=dubbo-golang-1.3.0×tamp=1609074791&warmup=100
2020-12-27T21:13:11.660+0800 INFO consul/registry.go:95 register--- grpc://192.168.1.102:20000/GrpcChatImpl?application=chat&cluster=failover&interface=net.chat.service.ChatProvider&loadbalance=chatbl&release=dubbo-golang-1.3.0×tamp=1609074791&warmup=100
```
## unregister
```
2020-12-27T21:13:35.547+0800 INFO consul/registry.go:119 unregister--- consul://127.0.0.1:8500?group=®istry=consul®istry.label=true®istry.preferred=false®istry.role=3®istry.timeout=3s®istry.ttl=10m®istry.weight=0®istry.zone=&simplified=true
2020-12-27T21:13:35.547+0800 INFO consul/utils.go:38 consul://127.0.0.1:8500?group=®istry=consul®istry.label=true®istry.preferred=false®istry.role=3®istry.timeout=3s®istry.ttl=10m®istry.weight=0®istry.zone=&simplified=true
2020-12-27T21:13:35.549+0800 INFO consul/registry.go:119 unregister--- consul://127.0.0.1:8500?group=®istry=consul®istry.label=true®istry.preferred=false®istry.role=3®istry.timeout=3s®istry.ttl=10m®istry.weight=0®istry.zone=&simplified=true
2020-12-27T21:13:35.549+0800 INFO consul/utils.go:38 consul://127.0.0.1:8500?group=®istry=consul®istry.label=true®istry.preferred=false®istry.role=3®istry.timeout=3s®istry.ttl=10m®istry.weight=0®istry.zone=&simplified=true
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org