Comments (5)
Andrew, it would be great to have more direct support, but when I look at, say, https://github.com/kookster/activemessaging/blob/master/lib/activemessaging/adapters/amqp.rb, thereβs too much implementation for what weβd want in the adapters. We need something higher level to wrap around.
But if you want to extract those queue interfaces into separate gems, we could provide adapters for those queue interfaces to ActiveJob. How does that sound?
On May 29, 2014, at 6:14 PM, Andrew Kuklewicz [email protected] wrote:
I've been using and maintaining https://github.com/kookster/activemessaging which also provides an abstraction over different messaging.
If there is interest, I could port over adapters that work directly with amqp, stomp, sqs, and jms queues:
https://github.com/kookster/activemessaging/tree/master/lib/activemessaging/adapters
any interest?
β
Reply to this email directly or view it on GitHub.
from activejob.
π on extracting these as separate gems.
from activejob.
Thanks. I see what you mean.
That makes sense for the sending/queueing side of things certainly, though not sure yet what that means for the consumer code, but probably also different gem(s).
I'll pick one and see what I can do (probably SQS or stomp, since I use those most).
from activejob.
@dhh I would also vote up for breaking adapters into separate gems.
from activejob.
I don't see an advantage to having adapters as thin as these in a separate gem, so π on that. But the adapters do need to remain this thin for that to work. So if there's major wrapping work needed, like for amqp, then that does need to come from an external gem.
from activejob.
Related Issues (20)
- 4.2.0.rc2 NoMethodError Exception: undefined method `deliver_now' for #<Mail::Message:0xfbcfef8> HOT 1
- Can I stack resque gem with plugin resque-history and ActiveJob? HOT 1
- ActiveJob with multiple databases HOT 4
- adapter to Amazon Simple Workflow HOT 1
- Convert resque-statsd to activejob-statsd HOT 9
- Add a proper usage guide HOT 3
- [Feature request] Cancel jobs HOT 40
- Set the job_id attribute on ActiveJob to the value from the adapter HOT 1
- Add deep serialization HOT 1
- Support multiple adapters, map adapters to queues HOT 25
- Add new inline-like built-in adapter to process it in a thread HOT 28
- MyJob.enqueue Syntax HOT 6
- Provide more solid default adapter HOT 40
- Are multiple queues even possible as written? HOT 3
- Girl_friday adapter? HOT 4
- Should we add a delayed mixin so users can delay any method? HOT 32
- delayed job adapter doesn't work properly with float timestamp
- resque job serialization fails under Rails
- Setting resque queue adapter fails HOT 12
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 activejob.