Task queue mixin for Bull, integrating Redis-backed job queues into Moleculer microservices. Version 0.3.1 is the latest stable release, requiring Node >= 12 and Moleculer ^0.14.0 || ^0.13.0 || ^0.12.0. It allows creating queue workers and job producers using Bull with Moleculer service mixins, supporting named jobs, concurrency, and progress tracking. Unlike direct Bull usage, it leverages Moleculer's service lifecycle and logging. Release cadence is sporadic; no major updates since 2021.
npm install moleculer-bullNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create queue worker and job producer services using moleculer-bull mixin.
Use mixins: [QueueService()] NOT mixins: [QueueService]
For version 0.3.0+, pass an object: QueueService({ redis: 'redis://...' })return Promise.resolve(...) instead of return this.Promise.resolve(...)
Do not reuse the same queue name for different job names; they are scoped within one queue.
Run `npm install moleculer-bull` and use correct require path.
Use mixins: [QueueService()] with parentheses.
Ensure you create a ServiceBroker instance: const broker = new ServiceBroker();
Start Redis or specify correct URL: QueueService('redis://your-host:port')