2017 © Pedro Peláez
 

library imbo-amqp-publisher

AMQP event publisher plugin for Imbo

image

imbo/imbo-amqp-publisher

AMQP event publisher plugin for Imbo

  • Saturday, April 2, 2016
  • by cogocogo
  • Repository
  • 2 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Current build Status, (*1)

imbo-amqp-publisher

AMQP plugin for Imbo, publishes events to a queue, (*2)

Installation

Setting up the dependencies

If you've installed Imbo through composer, getting the AMQP publisher up and running is really simple. Simply add imbo/imbo-amqp-publisher as a dependency and run composer update., (*3)

{
    "require": {
        "imbo/imbo-amqp-publisher": "dev-master",
    }
}

Configuring Imbo

Once you've got the dependencies installed, you need to configure the plugin. An example configuration file can be found in config/config.dist.php. Simply copy the file to your Imbo config folder, adjust the parameters and name it amqp-publisher.php, for instance. Imbo should pick it up automatically and start publishing to your configured AMQP host., (*4)

A word of warning

Be careful not to have a consumer use the same resource as the messages it received a message from did. For example, if the consumer receives a message with the image.get event and then proceeds to load that image, this will trigger another image.get event to be fired, and you've got an infinite loop going., (*5)

You should also be careful about who has access to the AMQP server/queue, as the messages can potentially include sensitive information. On the same note, make sure to only subscribe to events you actually want to publish - for instance, the keys.put resource would expose private keys, which is not something you usually want., (*6)

License

Copyright (c) 2015, Espen Hovlandsdal, (*7)

Licensed under the MIT License, (*8)

The Versions

02/04 2016

dev-develop

dev-develop

AMQP event publisher plugin for Imbo

  Sources   Download

MIT

The Requires

 

The Development Requires

search metadata imbo