Skip to content

Commit

Permalink
Polish readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dongeforever committed Dec 6, 2018
1 parent 860849e commit e99ba60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 69 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.idea
cmake-build-debug/
bin
libs

tmp_*
69 changes: 0 additions & 69 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,74 +62,5 @@ If your host is not available to internet to download the four library source fi
And then run following command to build rocketmq-client:

win32_build.bat build


## Quick Start
### Tools and Commands

- sync produce message

```shell
./SyncProducer -g group1 -t topic1 -c test message -n 172.168.1.1:9876
```

- async produce message

```shell
./AsyncProducer -g group1 -t topic -c test message -n 172.168.1.1:9876
```

- send delay message

```shell
./SendDelayMsg -g group1 -t topic -c test message -n 172.168.1.1:9876
```

- sync push consume message

```shell
./PushConsumer -g group1 -t topic -c test message -s sync -n 172.168.1.1:9876
```

- async push comsume message

```shell
./AsyncPushConsumer -g group1 -t topic -c test message -n 172.168.1.1:9876
```

- orderly sync push consume message

```shell
./OrderlyPushConsumer -g group1 -t topic -c test message -s sync -n 172.168.1.1:9876
```

- orderly async push consume message

```shell
./OrderlyPushConsumer -g group1 -t topic -c test message -n 172.168.1.1:9876
```

- sync pull consume message

```shell
./PullConsumer -g group1 -t topic -c test message -n 172.168.1.1:9876
```

### Parameters for Tools
```bash
-n : nameserver addr, format is ip1:port;ip2:port
-i : nameserver domain name, parameter -n and -i must have one.
-g : groupName, contains producer groupName and consumer groupName
-t : message topic
-m : message count(default value:1)
-c : message content(default value: only test)
-b : consume model(default value: CLUSTER)
-a : set sync push(default value: async)
-r : set retry times(default value:5 times)
-u : select active broker to send message(default value: false)
-d : use AutoDeleteSendcallback by cpp client(defalut value: false)
-T : thread count of send msg or consume message(defalut value: system cpu core number)
-v : print more details information
```


0 comments on commit e99ba60

Please sign in to comment.