drupal/openstack_queues

Openstack Zaqar is an OpenStack project designed to be an open alternative to Amazon SQS and SNS. This module implements Openstack Queues as an alternative Drupal Queue backend.

Installs: 19

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:drupal-module

dev-8.x-1.x 2015-10-18 00:06 UTC

This package is not auto-updated.

Last update: 2024-12-11 20:02:13 UTC


README

Scrutinizer Code Quality Code Coverage Build Status

Configuration

Connection information can be configured at admin/config/system/openstack-queues

If you need separate sets of credentials for different queues, they can be configured at admin/config/system/openstack-queues/{queue_name} (i.e. admin/config/system/openstack-queues/update_fetch_tasks for the Update queue).

The YAML format for configuration is as follows (using "default" and "update_fetch_tasks" as examples):

openstack_queues.settings.default:
  client_id: ''
  auth_url: 'https://identity.api.rackspacecloud.com/v2.0/'
  credentials:
    username: ''
    apiKey: ''
  region: ''
  prefix: ''
  
openstack_queues.settings.update_fetch_tasks:
  client_id: ''
  auth_url: 'https://identity.api.rackspacecloud.com/v2.0/'
  credentials:
    username: ''
    apiKey: ''
  region: ''
  prefix: ''

client_id must be a UUID to identify this particular API client. REQUIRED. auth_url is the URL to the identity service. username is your API username. apiKey is your API key. region is your Openstack region. prefix is used to namespace your queues. It is OPTIONAL, but RECOMMENDED especially if you are running multiple sites under the same account.

If you want to use Openstack Queues as the default queue manager, add the following to your site's settings.php:

  $settings['queue_default'] = 'queue.openstack';

Alternatively, you can also use Openstack Queues for specific queues:

  $settings['queue_{queue_name}'];