Nacos2 配置中心 grpc请求方式 无法更新配置
- Dominant language
- PHP
- Stars
- 22
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
```
Hyperf\Nacos\GrpcClient
public function listen(): void
{
$request = new ConfigBatchListenRequest(true, array_values($this->configListenContexts));
$response = $this->request($request);
if ($response instanceof ConfigChangeBatchListenResponse) {
$changedConfigs = $response->changedConfigs;
foreach ($changedConfigs as $changedConfig) {
$this->handleConfig($changedConfig->tenant, $changedConfig->group, $changedConfig->dataId);
}
}
}
```
config_center.drivers.nacos.client.grpc.enable=true的情况下
上面代码,当Nacos配置修改后,$response->changedConfigs没有任何配置数据
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.