-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib/registry/nacos/v2: panic: duplicate metrics collector registration attempted #3680
Comments
Why is the nacos sdk referenced differently in "github.com/gogf/gf/contrib/config/nacos/v2" and "github.com/gogf/gf/contrib/registry/nacos/v2"
This leads to duplicate registrations when obtaining remote configuration files and registering services |
Have you solved this problem? |
I used |
Thanks |
Same problem |
Same problem |
The reason for this problem is that nacos-sdk-go is used in |
Go version
go version go1.22.4 darwin/amd64
GoFrame version
2.7.2
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
What did you see happen?
What did you expect to see?
It's okay to just register the service or just get the configuration file, but it can be problematic when both are present
The text was updated successfully, but these errors were encountered: