hf400159 commented on code in PR #7933:
URL: https://github.com/apache/apisix/pull/7933#discussion_r973713473


##########
docs/zh/latest/plugins/traffic-split.md:
##########
@@ -23,53 +28,54 @@ title: traffic-split
 
 ## 描述
 
-traffic-split 插件使用户可以逐步引导各个上游之间的流量百分比。
+`traffic-split` 插件可以通过配置 `match` 和 `weighted_upstreams` 
属性,从而动态地将部分流量引导至各种上游服务。`match` 是用于分割流量的自定义规则,`weighted_upstreams` 
是用于引导流量的一组上游服务。当一个请求被 `match` 属性匹配时,它将根据配置的 `weights` 属性被引导到上游服务。你也可以不使用 
`match` 属性,而根据 `weighted_upstreams` 属性引导所有流量。

Review Comment:
   ```suggestion
   `traffic-split` 插件可以通过配置 `match` 和 `weighted_upstreams` 
属性,从而动态地将部分流量引导至各种上游服务。你可以在灰度发布和蓝绿发布的场景中使用该插件。
   
   `match` 是用于分割流量的自定义规则,`weighted_upstreams` 是用于引导流量的一组上游服务。当一个请求被 `match` 
属性匹配时,它将根据配置的 `weights` 属性被引导到上游服务。你也可以不使用 `match` 属性,而根据 `weighted_upstreams` 
属性引导所有流量。
   ```



-- 
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]

Reply via email to