./download-and-start-rocketmq.sh
netstat -aln|grep 9876
build and run producer
./gradlew -DmainClass=com.github.daggerok.ProducerV1Kt
mv -f ./build/install/rocketmq-example ./build/producer
bash ./build/producer/bin/rocketmq-example and 1 and 2 and 3 and four
build and run consumer
./gradlew -DmainClass=com.github.daggerok.ConsumerV1Kt
mv -f ./build/install/rocketmq-example ./build/consumer
bash ./build/consumer/bin/rocketmq-example &
build and run producer
./mvnw exec:java -Dexec.mainClass=com.github.daggerok.ProducerV1Kt -Dexec.args="One and two and three and four"
build and run consumer
./mvnw exec:java -Dexec.mainClass=com.github.daggerok.ConsumerV1Kt
killall -9 java