This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
     new 0309613b Delay message sending (#166)
0309613b is described below

commit 0309613b9b3f241b741c786c4b195caf16e0063d
Author: RockChuLee <[email protected]>
AuthorDate: Sun Aug 14 22:41:28 2022 -0400

    Delay message sending (#166)
    
    * Add the English-version Delay Message Sending of Producer.
    
    * Modify the typo in 07message3.md.
    
    * Resolve the question
---
 "docs/02-\347\224\237\344\272\247\350\200\205/07message3.md" |  2 +-
 .../09-\350\213\261\346\226\207/02-Producer/07message3.md"   | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git "a/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md" 
"b/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md"
index 0daf28dd..f8214a99 100644
--- "a/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md"
+++ "b/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md"
@@ -1,6 +1,6 @@
 # 延迟消息发送
 
-延时消息是指消息发送到Apache RocketMQ后,并不期望立马投递这条消息,而是延迟一定时间后才投递到Consumer进行消费。
+延迟消息发送是指消息发送到Apache RocketMQ后,并不期望立马投递这条消息,而是延迟一定时间后才投递到Consumer进行消费。
 
 Apache RocketMQ 一共支持18个等级的延迟投递,具体时间如下:
 
diff --git "a/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md" 
"b/docs/09-\350\213\261\346\226\207/02-Producer/07message3.md"
similarity index 66%
copy from "docs/02-\347\224\237\344\272\247\350\200\205/07message3.md"
copy to "docs/09-\350\213\261\346\226\207/02-Producer/07message3.md"
index 0daf28dd..416701b3 100644
--- "a/docs/02-\347\224\237\344\272\247\350\200\205/07message3.md"
+++ "b/docs/09-\350\213\261\346\226\207/02-Producer/07message3.md"
@@ -1,10 +1,10 @@
-# 延迟消息发送
+# Delayed Message Sending
 
-延时消息是指消息发送到Apache RocketMQ后,并不期望立马投递这条消息,而是延迟一定时间后才投递到Consumer进行消费。
+The delayed message sending means that when a message is sent to Apache 
RocketMQ, instead of delivering the message immediately, it would be delivered 
to the Consumer for consumption after delaying a certain period of time.
 
-Apache RocketMQ 一共支持18个等级的延迟投递,具体时间如下:
+Apache RocketMQ supports a total of 18 levels of delayed delivery, the details 
are as follows:
 
-| 投递等级(delay level) | 延迟时间 | 投递等级(delay level) | 延迟时间  |
+| delay level | delay time | delay level | delay time |
 |-------------------|------|-------------------|-------|
 | 1                 | 1s   | 10                | 6min  |
 | 2                 | 5s   | 11                | 7min  |
@@ -16,7 +16,7 @@ Apache RocketMQ 一共支持18个等级的延迟投递,具体时间如下:
 | 8                 | 4min | 17                | 1h    |
 | 9                 | 5min | 18                | 2h    |
 
-延迟消息的示例代码如下:
+The sample code for the delayed message sending is as follows:
 
 ```javascript {10,11}
 public class ScheduledMessageProducer {
@@ -41,5 +41,5 @@ public class ScheduledMessageProducer {
 }
 ```
 :::tip
-这里最重要的是message中设置延迟等级,例子中设置的等级是3,也就是发送者发送后,10s后消费者才能收到消息。
+The most important thing is to set the delay level for the message. In the 
sample code above, the delay level is set to 3, which means that after the 
sender sends the message, it would take 10s for the consumer to receive it.
 :::
\ No newline at end of file

Reply via email to