Minimal demo client for quick RocketMQ smoke tests.

Usage

# producer
java -jar democlient-1.0-SNAPSHOT-jar-with-dependencies.jar \
  producer "1.1.1.1:9876;2.2.2.2:9876" testtopic

# consumer
java -jar democlient-1.0-SNAPSHOT-jar-with-dependencies.jar \
  consumer "1.1.1.1:9876;2.2.2.2:9876" testtopic

Replace the name-server addresses and topic name with your cluster.

Download

rocketmq-demo.zip — contains the fat JAR and dependencies.