An AMQP connection manager and RabbitMQ consumer implementation for the Screwdriver build cluster. Version 6.1.0 is the current stable release. This package processes build start messages from RabbitMQ queues and manages pod lifecycle in Kubernetes with smart retry logic and progressive backoff. It is part of the Screwdriver CD ecosystem and is designed for internal usage within a Screwdriver cluster. The package is actively maintained by Yahoo and the Screwdriver community, with updates following the Screwdriver release cadence. It differentiates itself by providing a robust, Kubernetes-native build execution model with configurable prefetch, timeout, and retry limit settings.
npm install screwdriver-buildcluster-queue-workerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a QueueWorker with RabbitMQ config, starting it, and handling shutdown signals.
Update config to use `amqp` object with `host`, `port`, `username`, `password`.
Upgrade Node.js to version 12 or higher.
Explicitly set `queue` in config to the desired RabbitMQ queue name.
Keep prefetchCount between 1 and 50 inclusive.
Wrap worker.start() in a retry loop or use a supervisor system to restart on crash.
Provide a valid non-empty string for `queue` in the configuration.
Set prefetchCount to a positive integer between 1 and 50.
Ensure RabbitMQ is running and the host/port config is correct.
Add `queue: 'your-queue-name'` to the configuration.
No dependency data recorded yet.