{"id":13619660,"url":"https://github.com/qunarcorp/qmq","last_synced_at":"2026-10-19T07:21:27.428Z","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":2821,"open_issues_count":51,"forks_count":706,"subscribers_count":146,"default_branch":"master","last_synced_at":"2026-09-28T01:05:50.430Z","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":"2026-09-25T14:36:46.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,"purl":"pkg:github/qunarcorp/qmq","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qunarcorp%2Fqmq/sbom","scorecard":{"id":756225,"data":{"date":"2025-08-11","repo":{"name":"github.com/qunarcorp/qmq","commit":"5abc92f4eacb1e13e3f4880263381372b127bd22"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":1,"reason":"Found 4/22 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/qunarcorp/qmq/deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/qunarcorp/qmq/deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/qunarcorp/qmq/deploy.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.3.5 not signed: https://api.github.com/repos/qunarcorp/qmq/releases/15578482","Warn: release artifact v1.1.3.3 not signed: https://api.github.com/repos/qunarcorp/qmq/releases/14847065","Warn: release artifact v1.1.3.2 not signed: https://api.github.com/repos/qunarcorp/qmq/releases/14826927","Warn: release artifact v1.1.3.1 not signed: https://api.github.com/repos/qunarcorp/qmq/releases/14796936","Warn: release artifact v1.1.3 not signed: https://api.github.com/repos/qunarcorp/qmq/releases/14782660","Warn: release artifact v1.1.3.5 does not have provenance: https://api.github.com/repos/qunarcorp/qmq/releases/15578482","Warn: release artifact v1.1.3.3 does not have provenance: https://api.github.com/repos/qunarcorp/qmq/releases/14847065","Warn: release artifact v1.1.3.2 does not have provenance: https://api.github.com/repos/qunarcorp/qmq/releases/14826927","Warn: release artifact v1.1.3.1 does not have provenance: https://api.github.com/repos/qunarcorp/qmq/releases/14796936","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/qunarcorp/qmq/releases/14782660"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-668q-qrv7-99fm","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-mvr2-9pj6-7w5j"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T21:44:55.730Z","repository_id":37285384,"created_at":"2025-08-22T21:44:55.730Z","updated_at":"2025-08-22T21:44:55.730Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38350905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-10-19T07:21:26.776Z","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"}