-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: register with consul client #10
base: main
Are you sure you want to change the base?
feat: register with consul client #10
Conversation
@rfyiamcool Hello,rebase 下 master 代码 |
README.md
Outdated
@@ -143,7 +147,7 @@ func main() { | |||
|
|||
## Example | |||
|
|||
See Server and Client in example/basic or example/custom-config. | |||
See Server and Client in [example/basic](https://github.com/rfyiamcool/registry-consul/tree/main/example/basic) or [example/custom-config](https://github.com/rfyiamcool/registry-consul/tree/main/example/custom-config). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the link should be kitex-contrib/registry-consul
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rfyiamcool 劳烦及时跟进下代码,过久的PR 可能会被关闭哈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
8b15aa9
to
743128b
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rfyiamcool The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: rfyiamcool <[email protected]>
743128b
to
d66e480
Compare
summary
NewConsulRegisterWithClient
function. because app already consul client at startup, don't create client again.health check
is not used. because some network architectures are complicate, consul cannot connect to the registered node. 😁 It will be more friendly to explain in the documentation.