commit | 1c83a2580f019d54552873881623e25fd0692ea5 | [log] [tgz] |
---|---|---|
author | ShannonDing <libya_003@163.com> | Tue Nov 20 17:28:36 2018 +0800 |
committer | ShannonDing <libya_003@163.com> | Tue Nov 20 17:28:36 2018 +0800 |
tree | a13930be7dae94d4da8b0a0578b22eafa50f7b95 | |
parent | 02d9c8f684781eb13d03bb411c51497f8a79730d [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: