{"id":22300776,"url":"https://github.com/tsui66/egg-bullmq","last_synced_at":"2026-03-07T06:32:30.718Z","repository":{"id":42089118,"uuid":"281825122","full_name":"tsui66/egg-bullmq","owner":"tsui66","description":"Bullmq plugin for Egg.js","archived":false,"fork":false,"pushed_at":"2023-01-24T03:25:44.000Z","size":1206,"stargazers_count":5,"open_issues_count":13,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-29T02:48:07.454Z","etag":null,"topics":["bull","bullmq","egg-bullmq","eggjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsui66.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}},"created_at":"2020-07-23T01:58:22.000Z","updated_at":"2023-03-09T01:56:09.000Z","dependencies_parsed_at":"2023-02-13T15:15:49.163Z","dependency_job_id":null,"html_url":"https://github.com/tsui66/egg-bullmq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsui66/egg-bullmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsui66%2Fegg-bullmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsui66%2Fegg-bullmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsui66%2Fegg-bullmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsui66%2Fegg-bullmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsui66","download_url":"https://codeload.github.com/tsui66/egg-bullmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsui66%2Fegg-bullmq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bull","bullmq","egg-bullmq","eggjs"],"created_at":"2024-12-03T18:13:54.910Z","updated_at":"2026-03-07T06:32:30.665Z","avatar_url":"https://github.com/tsui66.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-bullmq\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/egg-bullmq.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-bullmq\n[travis-image]: https://img.shields.io/travis/Quinton/egg-bullmq.svg?style=flat-square\n[travis-url]: https://travis-ci.org/Quinton/egg-bullmq\n[codecov-image]: https://img.shields.io/codecov/c/github/Quinton/egg-bullmq.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/Quinton/egg-bullmq?branch=master\n[david-image]: https://img.shields.io/david/Quinton/egg-bullmq.svg?style=flat-square\n[david-url]: https://david-dm.org/Quinton/egg-bullmq\n[snyk-image]: https://snyk.io/test/npm/egg-bullmq/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-bullmq\n[download-image]: https://img.shields.io/npm/dm/egg-bullmq.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-bullmq\n\n\u003c!--\nDescription here.\n--\u003e\n\n## 依赖说明\n\n### 依赖的 egg 版本\n\negg-bullmq 版本 | egg 1.x\n--- | ---\n1.x | 😁\n0.x | ❌\n\n### 依赖的插件\n\u003c!--\n\n如果有依赖其它插件，请在这里特别说明。如\n\n- security\n- multipart\n\n--\u003e\n\n## 开启插件\n\n```js\n// config/plugin.js\nexports.bullmq = {\n  enable: true,\n  package: 'egg-bullmq',\n};\n```\n\n## 使用场景\n\n- 定时任务\n- 工作流\n\n## 目录结构 \u0026 \n\n```\n.\n├── app\n│   ├── schedule\n│   │   └── workflow.js\n│   └── router.js\n```\n## 消费者\n```\n// /app/schedule/comsumer.js\n\nmodule.exports = app =\u003e {\n  return {\n    schedule: {\n      type: 'queue | workflow', // 扩展定时任务类型, 具体参考 [Egg.js Schedule](https://Quinton.org/zh-cn/basics/schedule.html#%E6%89%A9%E5%B1%95%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1%E7%B1%BB%E5%9E%8B)\n      // below are self-defined args\n      queue: 'speed_test',\n      prefix: 'com.task.workflow',\n      pattern: 'workflow',\n    },\n    // schedule 就是上面的 schedule\n    async task(ctx, { schedule: { queueName }, msg, ackEvent }) {\n      // do something stuff\n    },\n  };\n};\n```\n\n## 详细配置\n\n请到 [config/config.default.js](config/config.default.js) 查看详细配置项说明。\n\n## 单元测试\n\n\u003c!-- 描述如何在单元测试中使用此插件，例如 schedule 如何触发。无则省略。--\u003e\n\n## 提问交流\n\n请到 [egg issues](https://github.com/Quinton/egg/issues) 异步交流。\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsui66%2Fegg-bullmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsui66%2Fegg-bullmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsui66%2Fegg-bullmq/lists"}