Use RabbitMQ for background workers
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0f804a2 Jun 16, 2018
Permalink
Failed to load latest commit information.
Locale Updated Hungarian translation Jun 18, 2018
Test First commit Jun 5, 2016
vendor First commit Jun 5, 2016
.gitignore First commit Jun 5, 2016
.travis.yml Remove PHP 5.5 from CI config Apr 4, 2018
LICENSE First commit Jun 5, 2016
Makefile First commit Jun 5, 2016
Plugin.php First commit Jun 5, 2016
README.md Update example Oct 7, 2017
composer.json First commit Jun 5, 2016
composer.lock First commit Jun 5, 2016

README.md

RabbitMQ Queue Driver

Build Status

This plugin use RabbitMQ to process background jobs for Kanboard.

Author

  • Frederic Guillot
  • License MIT

Requirements

  • Kanboard >= 1.0.29
  • PHP >= 5.3.3
  • RabbitMQ

Installation

You have the choice between 3 methods:

  1. Install the plugin from the Kanboard plugin manager in one click
  2. Download the zip file and decompress everything under the directory plugins/RabbitMQ
  3. Clone this repository into the folder plugins/RabbitMQ

Note: Plugin folder is case-sensitive.

Configuration

By default this plugin assume that RabbitMQ is running on localhost. To change the default values, define those parameters in your config file:

define('RABBITMQ_QUEUE', 'kanboard_queue');
define('RABBITMQ_EXCHANGE', 'kanboard_exchange');
define('RABBITMQ_HOSTNAME', '127.0.0.1');
define('RABBITMQ_PORT', 5672);
define('RABBITMQ_USERNAME', 'guest');
define('RABBITMQ_PASSWORD', 'guest');

You also need to run the Kanboard's worker:

/path/to/kanboard/cli worker

The worker must have the same permissions as the web application (same user). You should run the worker with a process manager like supervisord or similar.