-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
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没有任何配置数据
Metadata
Metadata
Assignees
Labels
No labels