Git Product home page Git Product logo

Comments (8)

slashdotdash avatar slashdotdash commented on July 21, 2024

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.

henry-hz avatar henry-hz commented on July 21, 2024

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.

slashdotdash avatar slashdotdash commented on July 21, 2024

I'm still unsure what you want to use it for, and why it needs to be implemented here?

from commanded.

henry-hz avatar henry-hz commented on July 21, 2024

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.

Papipo avatar Papipo commented on July 21, 2024

I only find this useful to integrate with legacy code.

from commanded.

henry-hz avatar henry-hz commented on July 21, 2024

or to delegate at-least-once deliver and de-duplication...https://github.com/pawelkaczor/akka-ddd/wiki/Reliable-Delivery

from commanded.

drozzy avatar drozzy commented on July 21, 2024

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.

slashdotdash avatar slashdotdash commented on July 21, 2024

Closing this issue. You can use an event handler to push events onto whichever message bus you like.

from commanded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.