Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: translate zh to en #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
|
Loading