## Apache RocketMQ
[![Build Status][maven-build-image]][maven-build-url]
[![CodeCov][codecov-image]][codecov-url]
[![Maven Central][maven-central-image]][maven-central-url]
[![Release][release-image]][release-url]
[![License][license-image]][license-url]
[![Average Time to Resolve An Issue][percentage-of-issues-still-open-image]][percentage-of-issues-still-open-url]
[![Percentage of Issues Still Open][average-time-to-resolve-an-issue-image]][average-time-to-resolve-an-issue-url]
[![Twitter Follow][twitter-follow-image]][twitter-follow-url]
**[Apache RocketMQ](https://rocketmq.apache.org) is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability.**
It offers a variety of features:
* Messaging patterns including publish/subscribe, request/reply and streaming
* Financial grade transactional message
* Built-in fault tolerance and high availability configuration options base on [DLedger Controller](docs/en/controller/quick_start.md)
* Built-in message tracing capability, also support opentracing
* Versatile big-data and streaming ecosystem integration
* Message retroactivity by time or offset
* Reliable FIFO and strict ordered messaging in the same queue
* Efficient pull and push consumption model
* Million-level message accumulation capacity in a single queue
* Multiple messaging protocols like gRPC, MQTT, JMS and OpenMessaging
* Flexible distributed scale-out deployment architecture
* Lightning-fast batch message exchange system
* Various message filter mechanics such as SQL and Tag
* Docker images for isolated testing and cloud isolated clusters
* Feature-rich administrative dashboard for configuration, metrics and monitoring
* Authentication and authorization
* Free open source connectors, for both sources and sinks
* Lightweight real-time computing
----------
## Quick Start
This paragraph guides you through steps of installing RocketMQ in different ways.
For local development and testing, only one instance will be created for each component.
### Run RocketMQ locally
RocketMQ runs on all major operating systems and requires only a Java JDK version 8 or higher to be installed.
To check, run `java -version`:
```shell
$ java -version
java version "1.8.0_121"
```
For Windows users, click [here](https://dist.apache.org/repos/dist/release/rocketmq/5.2.0/rocketmq-all-5.2.0-bin-release.zip) to download the 5.2.0 RocketMQ binary release,
unpack it to your local disk, such as `D:\rocketmq`.
For macOS and Linux users, execute following commands:
```shell
# Download release from the Apache mirror
$ wget https://dist.apache.org/repos/dist/release/rocketmq/5.2.0/rocketmq-all-5.2.0-bin-release.zip
# Unpack the release
$ unzip rocketmq-all-5.2.0-bin-release.zip
```
Prepare a terminal and change to the extracted `bin` directory:
```shell
$ cd rocketmq-all-5.2.0-bin-release/bin
```
**1) Start NameServer**
NameServer will be listening at `0.0.0.0:9876`, make sure that the port is not used by others on the local machine, and then do as follows.
For macOS and Linux users:
```shell
### start Name Server
$ nohup sh mqnamesrv &
### check whether Name Server is successfully started
$ tail -f ~/logs/rocketmqlogs/namesrv.log
The Name Server boot success...
```
For Windows users, you need set environment variables first:
- From the desktop, right click the Computer icon.
- Choose Properties from the context menu.
- Click the Advanced system settings link.
- Click Environment Variables.
- Add Environment `ROCKETMQ_HOME="D:\rocketmq"`.
Then change directory to rocketmq, type and run:
```shell
$ mqnamesrv.cmd
The Name Server boot success...
```
**2) Start Broker**
For macOS and Linux users:
```shell
### start Broker
$ nohup sh bin/mqbroker -n localhost:9876 &
### check whether Broker is successfully started, eg: Broker's IP is 192.168.1.2, Broker's name is broker-a
$ tail -f ~/logs/rocketmqlogs/broker.log
The broker[broker-a, 192.169.1.2:10911] boot success...
```
For Windows users:
```shell
$ mqbroker.cmd -n localhost:9876
The broker[broker-a, 192.169.1.2:10911] boot success...
```
### Run RocketMQ in Docker
You can run RocketMQ on your own machine within Docker containers,
`host` network will be used to expose listening port in the container.
**1) Start NameServer**
```shell
$ docker run -it --net=host apache/rocketmq ./mqnamesrv
```
**2) Start Broker**
```shell
$ docker run -it --net=host --mount source=/tmp/store,target=/home/rocketmq/store apache/rocketmq ./mqbroker -n localhost:9876
```
### Run RocketMQ in Kubernetes
You can also run a RocketMQ cluster within a Kubernetes cluster using [RocketMQ Operator](https://github.com/apache/rocketmq-operator).
Before your operations, make sure that `kubectl` and related kubeconfig file installed on your machine.
**1) Install CRDs**
```shell
### install CRDs
$ git clone https://github.com/apache/rocketmq-operator
$ cd rocketmq-operator && make deploy
### check whether CRDs is successfully installed
$ kubectl get crd | grep rocketmq.apache.org
brokers.rocketmq.apache.org 2022-05-12T09:23:18Z
consoles.rocketmq.apache.org 2022-05-12T09:23:19Z
nameservices.rocketmq.apache.org 2022-05-12T09:23:18Z
topictransfers.rocketmq.apache.org 2022-05-12T09:23:19Z
### check whether operator is running
$ kubectl get pods | grep rocketmq-operator
rocketmq-operator-6f65c77c49-8hwmj 1/1 Running 0 93s
```
**2) Create Cluster Instance**
```shell
### create RocketMQ cluster resource
$ cd example && kubectl create -f rocketmq_v1alpha1_rocketmq_cluster.yaml
### check whether cluster resources is running
$ kubectl get sts
NAME READY AGE
broker-0-master 1/1 107m
broker-0-replica-1 1/1 107m
name-service 1/1 107m
```
---
## Apache RocketMQ Community
* [RocketMQ Streams](https://github.com/apache/rocketmq-streams): A lightweight stream computing engine based on Apache RocketMQ.
* [RocketMQ Flink](https://github.com/apache/rocketmq-flink): The Apache RocketMQ connector of Apache Flink that supports source and sink connector in data stream and Table.
* [RocketMQ APIs](https://github.com/apache/rocketmq-apis): RocketMQ protobuf protocol.
* [RocketMQ Clients](https://github.com/apache/rocketmq-clients): gRPC/protobuf-based RocketMQ clients.
* RocketMQ Remoting-based Clients
- [RocketMQ Client CPP](https://github.com/apache/rocketmq-client-cpp)
- [RocketMQ Client Go](https://github.com/apache/rocketmq-client-go)
- [RocketMQ Client Python](https://github.com/apache/rocketmq-client-python)
- [RocketMQ Client Nodejs](https://github.com/apache/rocketmq-client-nodejs)
* [RocketMQ Spring](https://github.com/apache/rocketmq-spring): A project which helps developers quickly integrate Apache RocketMQ with Spring Boot.
* [RocketMQ Exporter](https://github.com/apache/rocketmq-exporter): An Apache RocketMQ exporter for Prometheus.
* [RocketMQ Operator](https://github.com/apache/rocketmq-operator): Providing a way to run an Apache RocketMQ cluster on Kubernetes.
* [RocketMQ Docker](https://github.com/apache/rocketmq-docker): The Git repo of the Docker Image for Apache RocketMQ.
* [RocketMQ Dashboard](https://github.com/apache/rocketmq-dashboard): Operation and maintenance console of Apache RocketMQ.
* [RocketMQ Connect](https://github.com/apache/rocketmq-connect): A tool for scalably and reliably streaming data between Apache RocketMQ and other systems.
* [RocketMQ MQTT](https://github.com/apache/rocketmq-mqtt): A new MQTT protocol architecture model, based on which Apache RocketMQ can better support messages from terminals such as IoT devices and Mobile APP.
* [RocketMQ EventBridge](https://github.com/apache/rocketmq-eventbridge): EventBridge make it easier to build a event-driven application.
* [RocketMQ Incubating Community Projects](https://github.com/apache/rocketmq-externals): Incubator community projects of Apache RocketMQ, incl
没有合适的资源?快使用搜索试试~ 我知道了~
rocketmq-all-5.3.1-bin-release.zip
共215个文件
jar:125个
sh:21个
conf:21个
需积分: 0 1 下载量 56 浏览量
2024-10-10
11:43:17
上传
评论
收藏 85.9MB ZIP 举报
温馨提示
RocketMQ是一款阿里巴巴开源的消息中间件
资源推荐
资源详情
资源评论
收起资源包目录
rocketmq-all-5.3.1-bin-release.zip (215个子文件)
runbroker.cmd 3KB
runserver.cmd 3KB
fast-try-independent-deployment.cmd 2KB
fast-try-namesrv-plugin.cmd 2KB
fast-try.cmd 2KB
mqshutdown.cmd 2KB
tools.cmd 2KB
mqcontroller.cmd 1KB
mqnamesrv.cmd 1KB
mqbroker.cmd 1KB
mqproxy.cmd 1KB
play.cmd 1KB
mqadmin.cmd 1KB
broker-a-in-container1.conf 1KB
broker-b-in-container2.conf 1KB
broker-a-in-container2.conf 1KB
broker-b-in-container1.conf 1KB
broker-container1.conf 1KB
broker-container2.conf 1KB
broker-n0.conf 1KB
broker-n1.conf 1KB
broker-n2.conf 1KB
broker-n1.conf 1KB
broker-n0.conf 1KB
namesrv-n0.conf 1014B
namesrv-n2.conf 1014B
namesrv-n1.conf 1014B
broker.conf 949B
controller-n2.conf 925B
controller-n0.conf 925B
controller-n1.conf 925B
namesrv.conf 920B
controller-standalone.conf 889B
nameserver.conf 811B
rocketmq-rocksdb-1.0.2.jar 28.59MB
grpc-netty-shaded-1.53.0.jar 8.91MB
bcprov-jdk15on-1.69.jar 5.48MB
zstd-jni-1.5.2-2.jar 5.15MB
netty-all-4.1.65.Final.jar 4.21MB
guava-32.0.1-jre.jar 2.9MB
fastjson2-2.0.43.jar 1.91MB
proto-google-common-protos-2.9.0.jar 1.69MB
protobuf-java-3.20.1.jar 1.61MB
kotlin-stdlib-1.6.20.jar 1.44MB
jraft-core-1.3.14.jar 1.22MB
netty-tcnative-boringssl-static-2.0.53.Final-linux-x86_64.jar 1.17MB
netty-tcnative-boringssl-static-2.0.53.Final-osx-x86_64.jar 1.09MB
jna-4.2.2.jar 1.08MB
netty-tcnative-boringssl-static-2.0.53.Final-windows-x86_64.jar 977KB
netty-tcnative-boringssl-static-2.0.53.Final-linux-aarch_64.jar 941KB
rocketmq-logback-classic-1.0.1.jar 918KB
caffeine-2.9.3.jar 891KB
bcpkix-jdk15on-1.69.jar 888KB
netty-tcnative-boringssl-static-2.0.53.Final-osx-aarch_64.jar 844KB
rocketmq-proto-2.0.3.jar 828KB
grpc-services-1.53.0.jar 789KB
okhttp-4.11.0.jar 769KB
javassist-3.20.0-GA.jar 733KB
grpc-core-1.53.0.jar 714KB
jaeger-thrift-1.8.1.jar 688KB
rocketmq-broker-5.3.1.jar 669KB
lz4-java-1.8.0.jar 667KB
fastjson-1.2.83.jar 656KB
rocketmq-store-5.3.1.jar 604KB
commons-collections-3.2.2.jar 575KB
commons-lang3-3.12.0.jar 574KB
jackson-core-2.15.2.jar 536KB
rocketmq-client-5.3.1.jar 534KB
rocketmq-remoting-5.3.1.jar 465KB
rocketmq-proxy-5.3.1.jar 452KB
hessian-3.3.6.jar 402KB
rocketmq-tools-5.3.1.jar 398KB
okio-jvm-3.4.0.jar 352KB
bcutil-jdk15on-1.69.jar 351KB
commons-codec-1.13.jar 336KB
snakeyaml-2.0.jar 327KB
rocketmq-common-5.3.1.jar 322KB
libthrift-0.15.0.jar 299KB
commons-lang-2.6.jar 278KB
bolt-1.6.4.jar 274KB
commons-io-2.7.jar 270KB
grpc-api-1.53.0.jar 256KB
opentelemetry-sdk-metrics-1.29.0.jar 251KB
jctools-core-2.1.1.jar 249KB
gson-2.9.0.jar 243KB
commons-beanutils-1.9.4.jar 241KB
checker-qual-3.33.0.jar 219KB
kotlin-stdlib-common-1.6.20.jar 196KB
commons-digester-2.1.jar 192KB
commons-validator-1.7.jar 185KB
rocketmq-example-5.3.1.jar 179KB
dledger-0.3.1.2.jar 175KB
rocketmq-controller-5.3.1.jar 148KB
rocketmq-tiered-store-5.3.1.jar 144KB
opentelemetry-api-1.29.0.jar 135KB
disruptor-1.2.10.jar 132KB
reflections-0.9.11.jar 128KB
hamcrest-2.1.jar 120KB
sofa-common-tools-1.0.12.jar 117KB
opentelemetry-sdk-trace-1.29.0.jar 114KB
共 215 条
- 1
- 2
- 3
资源评论
qxmjava
- 粉丝: 24
- 资源: 678
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功