Skip to content

Commit

Permalink
docs: translate zh to en
Browse files Browse the repository at this point in the history
  • Loading branch information
liukj committed Jan 16, 2025
1 parent 8cd9c85 commit 3d3f24b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/content.en/docs/references/processors/flow_replay.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ asciinema: false

# flow_replay

## 描述
## Description

flow_replay 处理器用来异步消费队列里面的请求并使用异步用于在线请求的处理流程来进行消费处理。

## 配置示例

一个简单的示例如下:
## Configuration Example

A simple example is as follows:

```
pipeline:
Expand All @@ -37,10 +38,11 @@ pipeline:
commit_on_tag: "commit_message_allowed"
```

## 参数说明
## Parameter Description

| 名称 | 类型 | 说明 |
| Name | Type | Description |
| ----------------------- | ------ | ------------------------------------------------------------------------------------ |
| message_field | string | 从队列获取到的消息,存放到上下文的字段名称, 默认 `messages` |
| flow | string | 以什么样的流程来消费队列里面的请求消息 |
| commit_on_tag | string | 只有当前请求的上下文里面出现指定 tag 才会 commit 消息,默认为空表示执行完就 commit |
| message_field | string | The context field name that store the message obtained from the queue, default `messages`. |
| flow | string | Specify the flow to consume request messages in the queue. |
| commit_on_tag | string | Only when the specified tag appears in the context of the current request will the message be committed. The default is empty, which means the commit will be executed once completed.
|

0 comments on commit 3d3f24b

Please sign in to comment.