hyperf / hyperf/service-governance

配置文件中的register改为false之后,rpc服务还是注册到了远端

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

多人开发经常遇到本地的服务启动之后,注册到了远端。然后其他人在调用或者前端访问这个服务的时候访问不通,看到有这个register的配置应该就是不注册远端的意思吧,但是在源代码中并没有用到这个配置,改为false是不生效的

![image](https://github.com/hyperf/service-governance/assets/8556733/cd383672-c65b-4c2b-badd-ee0f995f1149)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the register configuration and the RPC service registration path, then check whether the false value is read during startup. Confirm the behavior with a local service setup that uses register=false. Done means the service does not register remotely when this setting is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.