Comments (3)
I see that sns topics are now supported, but I am not sure how they are intended to be used - could someone add some docs for topics?
Nice catch! I will work on that.
e.g. how to configure them, how to send to a topic, what needs to be done to subscribe an sqs queue to a topic so workers receive messages
# https://github.com/phstc/shoryuken/blob/master/lib/shoryuken/topic.rb
Shoryuken::Client.sns.send_message(body)
Should work.
how to configure them
For the SNS configuration. I'm not sure if we should explain that here or just link to http://docs.aws.amazon.com/sns/latest/dg/SendMessageToSQS.html wdyt?
@leemhenson do you have some sample code to configure SNS? For my project I did that via AWS interface.
from shoryuken.
Covers most of it:
https://github.com/Comcast/cmb/blob/master/examples/ruby/example.rb
from shoryuken.
Tks @leemhenson
I'm closing this ticket in favor of https://github.com/phstc/shoryuken/wiki/SNS-Topics
from shoryuken.
Related Issues (20)
- Best Practices for configuration - Plain Ruby HOT 2
- Load balancing vs the default pooling strategy documentation HOT 3
- Environment Variables in *.yml files are not resolved HOT 5
- Doubt about threads opened with concurrency in groups HOT 2
- Doubt about delay in groups HOT 2
- FIFO queues and `retry_on` seem incompatible HOT 2
- Can concurrency be shared across groups (Managers) ? HOT 7
- Add Support for Non-retryable Exception to Shoyuken HOT 4
- Documentation for setting Receive Message options are confusing/unexpected when used with groups HOT 4
- delay in 'batch: true' option taking effect on startup HOT 6
- Feature: after stop callback
- When in Rails mode, in development environment, does not load app/workers automatically HOT 4
- Process terminated when started from Procfile HOT 3
- SIGTERM does not stop dispatching of new messages from the queue HOT 4
- Exception in Shoryuken::Queue#receive_messages HOT 3
- Not able to extend polling strategy when using yaml syntax for configuration.
- Support for ActiveJob.perform_all_later (Rails 7.1) HOT 5
- Thread vs Process | Performance Bottleneck HOT 1
- Post Ruby and Rails upgrade: Shoryuken worker polling shows no messages even when messages are present in SQS queue HOT 7
- `aws-sdk-core` 3.194.x breaks Shoryuken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoryuken.