docs.nestjs.com
docs.nestjs.com copied to clipboard
CQRS - how to use external command/event/query bus
I'm submitting a...
[ ] Regression
[ ] Bug report
[ ] Feature request
[ ] Documentation issue or request (new chapter/page)
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
For Tooling issues:
- Node version: XX
- Platform:
Others:
Related to this issue https://github.com/nestjs/docs.nestjs.com/issues/957
Is there any update on this?
no updates on this?
I'm also wondering if there's any update on this;
I have successfully been able to implement an external EventBus/Store via an extension on the EventBus, but am not able to the same for the CommandBus? I could share my EventBus extension, if it's needed (as an example) or if anyone is interested?
I have an example repo which illustrates how this can be achieved using Kafka (see here https://github.com/bradsheppard/nest-cqrs-kafka-example). It would be good to have this in the docs though. I don't mind putting up a PR to add it.
Also an example repo of external eventbus in use with REDIS here! Hope this help somebody :)
https://github.com/goznauk/nest-external-eventbus/tree/main/examples/simpleCqrs
@kamilmysliwiec Do you expect to provide some example in a near future ? Sounds like a production grade feature. Neither intel with https://github.com/nestjs/docs.nestjs.com/issues/957