{"id":13619660,"url":"https://github.com/qunarcorp/qmq","last_synced_at":"2025-10-04T20:50:16.554Z","repository":{"id":37285384,"uuid":"160777074","full_name":"qunarcorp/qmq","owner":"qunarcorp","description":" QMQ是去哪儿网内部广泛使用的消息中间件，自2012年诞生以来在去哪儿网所有业务场景中广泛的应用，包括跟交易息息相关的订单场景； 也包括报价搜索等高吞吐量场景。","archived":false,"fork":false,"pushed_at":"2023-12-01T02:13:10.000Z","size":7260,"stargazers_count":2813,"open_issues_count":50,"forks_count":705,"subscribers_count":151,"default_branch":"master","last_synced_at":"2025-04-12T19:44:37.300Z","etag":null,"topics":["consumer","distributed-transactions","event","event-bus","event-driven","kafka","message","message-bus","message-driven","message-queue","mq","producer","rabbitmq","xa"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qunarcorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-12-07T05:47:46.000Z","updated_at":"2025-04-10T01:25:51.000Z","dependencies_parsed_at":"2023-12-01T03:34:23.410Z","dependency_job_id":null,"html_url":"https://github.com/qunarcorp/qmq","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qunarcorp%2Fqmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qunarcorp%2Fqmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qunarcorp%2Fqmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qunarcorp%2Fqmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qunarcorp","download_url":"https://codeload.github.com/qunarcorp/qmq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149948,"owners_count":22022851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["consumer","distributed-transactions","event","event-bus","event-driven","kafka","message","message-bus","message-driven","message-queue","mq","producer","rabbitmq","xa"],"created_at":"2024-08-01T21:00:46.577Z","updated_at":"2025-10-04T20:50:11.523Z","avatar_url":"https://github.com/qunarcorp.png","language":"Java","funding_links":[],"categories":["Java","进程间通信","Message Queue Middlewares"],"sub_categories":[],"readme":"# QMQ\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.qunar.qmq/qmq/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Ccom.qunar.qmq)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\nQMQ是去哪儿网内部广泛使用的消息中间件，自2012年诞生以来在去哪儿网所有业务场景中广泛的应用，包括跟交易息息相关的订单场景；\n也包括报价搜索等高吞吐量场景。目前在公司内部日常消息qps在60W左右，生产上承载将近4W+消息topic，消息的端到端延迟可以控制在10ms以内。\n\n主要提供以下特性：\n* 异步实时消息\n* 延迟/定时消息(支持任意秒级)\n* 广播消息(每个Consumer都收到相同消息，比如本地cache更新)\n* 基于Tag的服务端过滤\n* Consumer端幂等处理支持\n* Consumer端filter\n* 消费端支持按条ack消息\n* 死信消息\n* 结合Spring annotation使用的简单API\n* 提供丰富的监控指标\n* 接入OpenTracing\n* 事务消息\n* Consumer的处理能力也可以方便扩容缩容\n* Server可以随心所欲扩容缩容\n* Java Client, .NET Client\n* 读写分离\n* 消息投递轨迹\n* 历史消息的自动备份\n* 有序消息(即将开源)\n\n# JDK最低版本要求\n* Client: 1.7及其以上版本\n* Server: 1.8及其以上版本\n\n# Maven\nqmq的客户端已经发布到maven中央仓库，可以通过下面的方式获取\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.qunar.qmq\u003c/groupId\u003e\n    \u003cartifactId\u003eqmq\u003c/artifactId\u003e\n    \u003cversion\u003e{see maven}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n# 快速开始\n你可以通过[设计背景](docs/cn/design.md)了解设计QMQ的初衷和它与其他消息队列的不同。\n阅读[架构概览](docs/cn/arch.md)了解QMQ的存储模型\n\n## 文档\n* [快速入门](docs/cn/quickstart.md)\n* [安装](docs/cn/install.md)\n* [设计背景](docs/cn/design.md)\n* [架构概览](docs/cn/arch.md)\n* [代码模块介绍](docs/cn/code.md)\n* [高可用](docs/cn/ha.md)\n* [监控](docs/cn/monitor.md)\n* [Trace](docs/cn/trace.md)\n* [发送消息](docs/cn/producer.md)\n* [在Junit Test中如何发送消息](docs/cn/unittest.md)\n* [事务消息](docs/cn/transaction.md)\n* [消费消息](docs/cn/consumer.md)\n* [幂等Exactly once消费](docs/cn/exactlyonce.md)\n* [.NET客户端](docs/cn/net.md)\n* [延时/定时消息](docs/cn/delay.md)\n* [服务端tag过滤](docs/cn/tag.md)\n* [消息备份](docs/cn/backup.md)\n* [在IDE里运行代码](docs/cn/debug.md)\n* [运维](docs/cn/operations.md)\n* [移植](docs/cn/local.md)\n* [支持其他DB](docs/cn/db.md)\n* [开源协议](docs/cn/opensource.md)\n* [技术支持](docs/cn/support.md)\n* [分享](docs/cn/share.md)\n* [FAQ](docs/cn/faq.md)\n\n# 技术支持\n\n### 欢迎关注QMQ官方公众号\n![公众号](docs/images/wx.jpg)\n\n### QQ群\n|QMQ技术交流群(2)|QMQ技术交流群(1)|\n|:------------:|:------------:|\n|群号:1018190609|群号:915826408(已满)|\n|![QQ群2](docs/images/support3.png)|![QQ群1(已满)](docs/images/support1.png)|\n\n# 开源协议\n[Apache 2 license](https://github.com/qunarcorp/qmq/blob/master/LICENSE)\n\n# 用户(已经在生产使用)\n\n欢迎在[这里](https://github.com/qunarcorp/qmq/issues/19)，以方便我们提供更好的技术支持\n\n![去哪儿](docs/images/logo/qunar.png)\n![携程](docs/images/logo/ctrip.png)\n![IYMedia](docs/images/logo/iymedia.png)\n![便利蜂](docs/images/logo/bianlifeng.png)\n![金汇金融](docs/images/logo/jinhui365.png)\n![必贝证券](docs/images/logo/bbae.svg)\n\u003cimg src=\"docs/images/logo/soonchina.png\" title=\"嵩云科技\" width=\"126\" height=\"43\"\u003e\n![易宝支付](docs/images/logo/yeepay.png)\n![三节课](docs/images/logo/teammark.png)\n![红松学堂](docs/images/logo/hongsong.png)\n![跨越速运](docs/images/logo/kuayueexpress.svg)\n\n# Stars History\n[![Stargazers over time](https://starchart.cc/qunarcorp/qmq.svg)](https://starchart.cc/qunarcorp/qmq)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqunarcorp%2Fqmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqunarcorp%2Fqmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqunarcorp%2Fqmq/lists"}