mimi-messaging-sqs_sns
AWS SQS/SNS adapter for mimi-messaging.
Installation
Add this line to your application's Gemfile:
gem 'mimi-messaging-sqs_sns'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mimi-messaging-sqs_sns
Usage
require "mimi/messaging"
require "mimi/messaging/sqs_sns"
Mimi::Messaging.configure(
mq_adapter: "sqs_sns",
# if nil, AWS SDK will guess values from environment
mq_aws_region: nil,
mq_aws_access_key_id: nil,
mq_aws_secret_access_key: nil,
mq_aws_sqs_endpoint: nil,
mq_aws_sns_endpoint: nil,
mq_aws_sqs_read_timeout: 10, # seconds
mq_namespace: nil,
mq_default_query_timeout: 15, # seconds,
mq_reply_queue_prefix: "reply."
)
Mimi::Messaging.start
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kukushkin/mimi-messaging-sqs_sns. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the mimi-messaging-sqs_sns project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.