Giter Club home page Giter Club logo

homebrew-tap's Introduction

RocketMQ Homebrew Tap

This tap is for products in the RocketMQ.

How do I install these formulae?

Install the tap via:

brew tap xieyi64/tap

Then you can install individual products via:

brew install rocketmq

The following products are supported:

  • RocketMQ brew install xieyi64/tap/rocketmq

Default Paths for the RocketMQ Formula

In addition to installing the RocketMQ server and tool binaries, the rocketmq formula creates:

  • a configuration dir: /usr/local/etc/rocketmq
  • a log directory path: /usr/local/var/log/rocketmq
  • a data directory dir: /usr/local/var/rocketmq

Starting the RocketMQ Server

Run RocketMQ as a service

service setup

To have launchd start rocketmq immediately and also restart at login, use:

$ brew services start rocketmq

If you manage rocketmq as a service it will use the default paths listed above. To stop the server instance use:

$ brew services stop rocketmq

manual setup

before setup rocketmq server, run nameserver firstly:

$mqnamesrv

and then setup broker:

mqbroker -n localhost:9876 -c  /usr/local/etc/rocketmq/broker.conf

then, we could use mqadmin to send messages or view cluster&topics info.create topic as below. more commands see mqadmin help:

mqadmin updateTopic -t  topicTest  -n 127.0.0.1:9876  -c DefaultCluster  -r 2 -w 2

finally, we should shutdown rocketmq server: nameserver and broker.

mqshutdown namesrv
mqshutdown broker

Documentation

brew help, man brew or check Homebrew's documentation.

homebrew-tap's People

Contributors

xujianhai666 avatar xieyi64 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.