{"id":20109854,"url":"https://github.com/hyper63/hyper-adapter-bullmq","last_synced_at":"2026-05-04T20:38:48.375Z","repository":{"id":219166940,"uuid":"712940316","full_name":"hyper63/hyper-adapter-bullmq","owner":"hyper63","description":"BullMQ Queue Adapter for the Hyper Queue Port","archived":false,"fork":false,"pushed_at":"2024-01-25T19:55:11.000Z","size":200,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T05:41:40.489Z","etag":null,"topics":["bullmq","clean-architecture","deno","hyper","ports-and-adapters","queue","redis","service-framework"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/hyper63.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,"roadmap":null,"authors":null}},"created_at":"2023-11-01T14:16:01.000Z","updated_at":"2024-07-17T16:57:24.000Z","dependencies_parsed_at":"2024-01-25T20:47:23.700Z","dependency_job_id":null,"html_url":"https://github.com/hyper63/hyper-adapter-bullmq","commit_stats":null,"previous_names":["hyper63/hyper-adapter-bullmq"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-bullmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-bullmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-bullmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fhyper-adapter-bullmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper63","download_url":"https://codeload.github.com/hyper63/hyper-adapter-bullmq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550090,"owners_count":19980648,"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":["bullmq","clean-architecture","deno","hyper","ports-and-adapters","queue","redis","service-framework"],"created_at":"2024-11-13T18:09:38.304Z","updated_at":"2026-05-04T20:38:43.342Z","avatar_url":"https://github.com/hyper63.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ehyper-adapter-bullmq\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA Queue port adapter for BullMQ in the \u003ca href=\"https://hyper.io/\"\u003ehyper\u003c/a\u003e  service framework\u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-bullmq/actions/workflows/test-and-publish.yml\"\u003e\u003cimg src=\"https://github.com/hyper63/hyper-adapter-bullmq/actions/workflows/test-and-publish.yml/badge.svg\" alt=\"Test\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hyper63/hyper-adapter-bullmq/tags/\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/hyper63/hyper-adapter-bullmq\" alt=\"Current Version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003c!-- toc --\u003e\n\n- [Getting Started](#getting-started)\n- [Methods](#methods)\n- [Testing](#testing)\n- [License](#license)\n\n\u003c!-- tocstop --\u003e\n\n## Getting Started\n\n```ts\nimport { default as bullmq } from 'https://raw.githubusercontent.com/hyper63/hyper-adapter-bullmq/v1.0.1/mod.ts'\n\nexport default {\n  app,\n  adapter: [\n    {\n      port: 'queue',\n      plugins: [\n        bullmq({\n          url: 'http://user@password@redis.host:6379',\n        }),\n      ],\n    },\n  ],\n}\n```\n\nYou can pass the following configuration to the adapter:\n\n```ts\nexport type AdapterConfig = {\n  /**\n   * The redis server connection string\n   */\n  url: string\n  options?: {\n    /**\n     * How many Workers to spawn in order to process jobs.\n     *\n     * Defaults to 10\n     */\n    concurrency?: number\n    /**\n     * The Time-To-Live for jobs whose processing fails. The job payload,\n     * along with the error is stored in redis.\n     *\n     * Defaults to 7 days.\n     */\n    failedTtl?: number\n    /**\n     * A prefix you'd like all keys created by the adapter to use.\n     *\n     * Defaults to no prefix ie. ''\n     */\n    keyPrefix?: string\n    /**\n     * Whether the Redis Server being used is clustered.\n     *\n     * Defaults to false\n     */\n    cluster?: boolean\n  }\n}\n```\n\n## Methods\n\nThis adapter fully implements the Queue port and can be used as the\n[hyper Queue service](https://hyper63.github.io/docs/docs/api-reference/rest/queue.html) adapter\n\nSee the full port [here](https://github.com/hyper63/hyper/tree/main/packages/port-queue)\n\n## Testing\n\nRun Tests\n\n```sh\ndeno task test\n```\n\nTo lint, check formatting, and run unit tests\n\nRun Integration Tests\n\n\u003e You will need a Redis Server running and `REDIS_URL` set to your Redis server connection string\n\n```sh\ndeno task test:integration\n```\n\nRun Test Harness\n\n```sh\ndeno task test:harness\n```\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-bullmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper63%2Fhyper-adapter-bullmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fhyper-adapter-bullmq/lists"}