XnLemon commented on PR #3687:
URL: https://github.com/apache/dubbo-go/pull/3687#issuecomment-5693118287

   > Instance YAML 的格式需要明确一下
   > 
   > 当前实现的规则是:
   > 
   > ```yaml
   > dubbo:
   >   extensions:
   >     hystrix:
   >       enabled: true
   > ```
   > 
   > 会作为 Instance 配置。
   > 
   > 而:
   > 
   > ```yaml
   > dubbo:
   >   extensions:
   >     hystrix:
   >       consumer:
   >         ...
   >       provider:
   >         ...
   > ```
   > 
   > 会根据 client/server 分别选择对应分支。
   > 
   > 改成这种是不是好一些:
   > 
   > ```yaml
   > dubbo:
   >   extensions:
   >     hystrix:
   >       instance:
   >         ...
   > ```
   
   changed style like 
    ```yaml
    dubbo:
     extensions:
       my-extension:
         instance:
           consumer:
             some-instance-setting: foo
           provider:
             another-instance-setting: bar
         consumer:
           client-setting: baz
         provider:
           server-setting: qux
    ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to