Skip to content

Instantly share code, notes, and snippets.

@jahio
Created November 3, 2020 21:10
Show Gist options
  • Save jahio/ce6cf6a01a2a6dc9d93889fae8565e9f to your computer and use it in GitHub Desktop.
Save jahio/ce6cf6a01a2a6dc9d93889fae8565e9f to your computer and use it in GitHub Desktop.
Stop RocketMQ
#!/usr/bin/env zsh
export NAMESRV_ADDR="localhost:9876"
export ROCKETMQ_HOME="/Users/jah/Applications/rocketmq"
ORIGINAL_LOCATION=$(pwd)
cd $ROCKETMQ_HOME
bin/mqshutdown broker
bin/mqshutdown namesrv
cd $ORIGINAL_LOCATION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment