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_r256681594
########## 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 Review comment: format,Please add a space before 1.2 ---------------------------------------------------------------- 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
