https://github.com/ericduran/test-aws_sqs
Test repo to test other git source from drupal-packegist
https://github.com/ericduran/test-aws_sqs
Last synced: about 1 year ago
JSON representation
Test repo to test other git source from drupal-packegist
- Host: GitHub
- URL: https://github.com/ericduran/test-aws_sqs
- Owner: ericduran
- Created: 2015-10-09T18:19:52.000Z (over 10 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2015-10-09T18:27:52.000Z (over 10 years ago)
- Last Synced: 2023-03-11T05:08:07.370Z (over 3 years ago)
- Language: PHP
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AWS Simple Queue Service (7.x-1.x)
===================================
This module uses AWS SQS as a backend for Drupal's queue system. You can use AWS SQS as a full replacement for your Drupal queues, or use it for certain queues.
Dependencies
-------------
- composer_manager (module)
- composer (drush extension)
Installation & Set-up
----------------------
1. Download and install required projects.
drush dl aws_sqs composer_manager composer
drush en composer_manager
drush en aws_sqs
drush composer-rebuild-file
drush composer-execute update
2. Set up your Amazon account and sign up for SQS.
Instructions here:
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/GettingSetUp.html
- Create an Amazon account.
- Creating a group, user, and granting that user access to SQS.
- Get set up to submit requests to AWS SQS with PHP.
You may also be interested in documentation on AWS SDK for PHP:
http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/index.html
3. Enter your AWS credentials.
- Go here: admin/config/system/aws-queue
- Enter your creds
- Set AwsSqsQueue as your default queue. If you don't want SQS to be your
backend by default, leave it set to SystemQueue and instantiate SQS
queues manually with AwsSqsQueue::get().
4. (Optional) Test drive with example_queue module.
drush dl examples
drush en queue_example
- Go here: queue_example/insert_remove
- Add some items to a queue.
- Toggle over to your AWS Console and watch your queued items appear.
- Try removing, claiming, releasing, and deleting items from the queue.
Watch how these changes are all reflected in the AWS Console.