Comments (8)
What's the use case for supporting multiple message queues?
A consumer of Commanded can write an event handler that pushes events straight onto any message queue they choose to use. It doesn't require explicit support, it's provided by the event store.
from commanded.
Maybe a "one point" contract adapter, like: https://github.com/ChicagoBoss/ChicagoBoss/blob/master/src/boss/mq_adapters/boss_mq_adapter_tinymq.erl
from commanded.
I'm still unsure what you want to use it for, and why it needs to be implemented here?
from commanded.
I thought that if we could generalize the MQ in a behavior (or plugin), easily one could migrate from one MQ to another. Example, the registry sends one command using point-to-point pattern to aggregate instance; An abstract layer between this communication could easy the user to use Rabbit MQ, or other. Also with event messages, one could 'subscribe' to this abstract layer, and easily use Rabbit to queue messages and process them, instead of using the eventstore. Maybe I should study better Commanded and it's an idea "out of the bounded context"
from commanded.
I only find this useful to integrate with legacy code.
from commanded.
or to delegate at-least-once deliver and de-duplication...https://github.com/pawelkaczor/akka-ddd/wiki/Reliable-Delivery
from commanded.
Why a queue here?
EventStore, for example, can already serve the needs of pub/sub for at-least-once-at-most-once requirements.
For other stuff, I say write a projection that will push stuff to a queue.
I quite like the smallness and speciality of this library. Don't want to see it bloated.
from commanded.
Closing this issue. You can use an event handler to push events onto whichever message bus you like.
from commanded.
Related Issues (20)
- Wiki Testing section is outdated HOT 1
- warning: redefining module Commanded.Serialization.JsonDecoder.Any HOT 2
- Event number gaplessness required?
- Commanded.aggregate_state does not work when aggregate identity has a prefix HOT 10
- Process manager router option not working
- Lessons learned from performance optimization - an unlikely culprit HOT 3
- no function clause matching in Commanded.Commands.Dispatcher.telemetry_stop/3 HOT 1
- Docs questions
- Stacktrace in event handler error? HOT 2
- Paralelization Strategies in EventHandlers
- Should Commanded.Event.Handler support messages from swarm? HOT 2
- Event retention policies?
- please support multiple commanded application with one eventstore HOT 6
- Process Manager state serialization breaks when using a custom TypeProvider with the JsonSerializer
- `Commanded.ProcessManagers.ProcessManager.identity/0` function returns `nil` in unit tests
- no function clause matching in Commanded.Event.Handler.partition_event/4 HOT 1
- EventstoreDB is sunsetting the TCP protocol HOT 1
- Is it a bad practice for an event handler to depend on a projector completion? HOT 2
- Snapshotting 2 Aggregates having same identity
- Is it possible to log contents of InMemoryEventStore on failed test?
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 commanded.