Skip to content

Commit

Permalink
fix(doc): default sink retry should be 0
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
  • Loading branch information
ngjaying committed Jan 11, 2022
1 parent 624ef74 commit 45bbea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en_US/rules/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Each action can define its own properties. There are several common properties:
| bufferLength | int: 1024 | Specify how many messages can be buffered in memory. If the buffered messages exceed the limit, the sink will block message receiving until the buffered messages have been sent out so that the buffered size is less than the limit. |
| runAsync | bool:false | Whether the sink will run asynchronously for better performance. If it is true, the sink result order is not promised. |
| retryInterval | int:1000 | Specify how many milliseconds will the sink retry to send data out if the previous send failed. If the specified value <= 0, then it will not retry. |
| retryCount | int:3 | Specify how many will the sink retry to send data out if the previous send failed. If the specified value <= 0, then it will not retry. |
| retryCount | int:0 | Specify how many will the sink retry to send data out if the previous send failed. If the specified value <= 0, then it will not retry. |
| cacheLength | int:1024 | Specify how many messages can be cached. The cached messages will be resent to external system until the data sent out successfully. The cached message will be sent in order except in runAsync or concurrent mode. The cached message will be saved to disk in fixed intervals. |
| cacheSaveInterval | int:1000 | Specify the interval to save cached message to the disk. Notice that, if the rule is closed in plan, all the cached messages will be saved at close. A larger value can reduce the saving overhead but may lose more cache messages when the system is interrupted in error. |
| omitIfEmpty | bool: false | If the configuration item is set to true, when SELECT result is empty, then the result will not feed to sink operator. |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/rules/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
| bufferLength | int: 1024 | 设置可缓存消息数目。若缓存消息数超过此限制,sink将阻塞消息接收,直到缓存消息被消费使得缓存消息数目小于限制为止。 |
| runAsync | bool:false | 设置是否异步运行输出操作以提升性能。请注意,异步运行的情况下,输出结果顺序不能保证。 |
| retryInterval | int:1000 | 设置信息发送失败后重试等待时间,单位为毫秒。如果该值的设置 <= 0,那么不会尝试重新发送。 |
| retryCount | int:3 | 设置信息发送失败后重试次数,如果该值的设置 <= 0,那么不会尝试重新发送。 |
| retryCount | int:0 | 设置信息发送失败后重试次数,如果该值的设置 <= 0,那么不会尝试重新发送。 |
| cacheLength | int:1024 | 设置最大消息缓存数量。缓存的消息会一直保留直到消息发送成功。缓存消息将按顺序发送,除非运行在异步或者并发模式下。缓存消息会定期存储到磁盘中。 |
| cacheSaveInterval | int:1000 | 设置缓存存储间隔时间。需要注意的是,当规则关闭时,缓存会自动存储。该值越大,则缓存保存开销越小,但系统意外退出时缓存丢失的风险变大。 |
| omitIfEmpty | bool: false | 如果配置项设置为 true,则当 SELECT 结果为空时,该结果将不提供给目标运算符。 |
Expand Down

0 comments on commit 45bbea6

Please sign in to comment.