wlliqipeng commented on a change in pull request #758: [RIP-9] Add the 
introduction of the basic samples in RocketMQ
URL: https://github.com/apache/rocketmq/pull/758#discussion_r256680727
 
 

 ##########
 File path: docs/en/Example_Simple.md
 ##########
 @@ -0,0 +1,134 @@
+# 1. Basic Sample 
+------
+Two functions below are provided in the basic sample:
+* The RocketMQ can be utilized to send messages in three ways: reliable 
synchronous, reliable asynchronous, and one-way transmission.  The first two 
message types are reliable because there is a response whether they were sent 
successfully.
+* The RocketMQ can be utilized to consume messages.
+### 1.1 Add Dependency
+maven:
+```
+<dependency>
+  <groupId>org.apache.rocketmq</groupId>
+  <artifactId>rocketmq-client</artifactId>
+  <version>4.3.0</version>
+</dependency>
+```
+gradle: 
+`compile 'org.apache.rocketmq:rocketmq-client:4.3.0'`
+###1.2 Send Messages
+##### 1.2.1 Use Producer to Send Synchronous Messages
+Reliable synchronous transmission is used in extensive scenes, such as 
important notification messages, SMS notification.
+```
 
 Review comment:
   please replace  ```  with    ```java

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to