nacos icon indicating copy to clipboard operation
nacos copied to clipboard

A PHP implementation of Nacos OpenAPI, particularly adapt for Hyperf.

Results 5 nacos issues
Sort by recently updated
recently updated
newest added

``` 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,...

![图片](https://user-images.githubusercontent.com/29916783/157405273-93d35361-685c-4674-84db-f1a6b828cb4c.png)

n version 1.4.x,GET /nacos/v1/ns/service querying a not exist service , return status code 500. return message body caused: service api@@hyperf is not found! But in version 2.0.x ,return status code...

java服务是这样的: 实现在Nacos控制台上配置服务权重 Nacos默认是轮询。此时在控制台上修改服务的权重是无效的,仍然是轮询。 可以在消费者Consumer的代码上面加上: ConsumerApplication.java @Bean @Scope(value = "prototype") public IRule loadBalanceRule() { return new NacosRule(); } 这样就可以支持在控制台上手动配置权重了。 ———————————————— 版权声明:本文为CSDN博主「mxb1234567」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/mxb1234567/article/details/109532872