java CQRS 和 EventSourcing 的框架建议
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11379307/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Framework suggestion for CQRS and EventSourcing
提问by Aravind Yarram
Are there any other Java frameworks for CQRS and Event Sourcing other than Axon Framework? I am specifically looking for
除了Axon 框架之外,还有其他用于 CQRS 和事件溯源的 Java 框架吗?我专门找
- Java based framework.
- Must support event sourcing.
- 基于Java的框架。
- 必须支持事件溯源。
采纳答案by eskatos
You could give Qi4ja try.
你可以试试Qi4j。
The SDK provides an EventStore for Domain Events and a way to expose them as Atom feeds easily.
SDK 为领域事件提供了一个 EventStore,并提供了一种轻松地将它们公开为 Atom 提要的方法。
Note that at the time of writing Qi4j 2.0 is not released yet so you'll have to use weekly builds for now.
请注意,在撰写本文时,Qi4j 2.0 尚未发布,因此您现在必须使用每周构建。
Moreover documentation is not ready either but the unit tests codeshould get you started.
此外,文档还没有准备好,但是单元测试代码应该可以帮助您入门。
回答by duffymo
回答by Jan-Terje S?rensen
I have been working with an Event Store in Java called Eventstore2.
我一直在使用 Java 中名为Eventstore2的事件存储。
And building on this Event Store I have created an archetype that gives you an initial Java Web Application called maven-archetype-eventsourcing
在这个 Event Store 的基础上,我创建了一个原型,它为您提供了一个名为maven-archetype-eventsourcing的初始 Java Web 应用程序
You can read my blog about it - Get your Event Sourced web application development started with one line using Maven!.
您可以阅读我关于它的博客 -使用 Maven 以一行代码开始您的事件源 Web 应用程序开发!.