commit | 02d9c8f684781eb13d03bb411c51497f8a79730d | [log] [tgz] |
---|---|---|
author | ShannonDing <libya_003@163.com> | Tue Nov 20 11:25:27 2018 +0800 |
committer | ShannonDing <libya_003@163.com> | Tue Nov 20 11:25:27 2018 +0800 |
tree | 8faacbb07093412a505dcaa76811e0ff51d34d2d | |
parent | 2708df64033f7a236b311e2203daf264bcb328b2 [diff] |
Support Pull Consumer
-n : nameserver addr, if not set -n and -i ,no nameSrv will be got
-i : nameserver domain name, if not set -n and -i ,no nameSrv will be got
Notice: oper should only set one option from -n and -i,
-g : groupName, contains producer groupName and consumer groupName
-t : msg topic
-m : message count(default value:1)
-c : msg content(default value: only test)
-b : consume model(default value: CLUSTER)
-a : set sync push(default value: async)
-r : setup retry times(default value:5 times)
-u : select active broker to send msg(default value: false)
-d : use AutoDeleteSendcallback by cpp client(defalut value: false)
-T : thread count of send msg or consume msg(defalut value: system cpu core number)
-v : print more details information
Example:
producer must invoke following interface:
pullconsumer must invoke following interface:
pushconsumer must invoke following interface: