[
http://team.ops4j.org/browse/QI-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18175#comment-18175
]
Paul Merlin commented on QI-280:
--------------------------------
Gang,
This issue is in the 2.0 jira roadmap and I would like to start discussing it.
First, some links to related mailing-list threads:
CommandQuerySeparation, EventSourcing and persistence (April 2009)
http://www.mail-archive.com/[email protected]/msg03109.html
EventSourcing and UoW completion sequence (February 2011)
http://www.mail-archive.com/[email protected]/msg05975.html
Aside from that, in the SDK we have the eventsourcing library, the
eventsourcing-jdbm EventStore implementation and eventsourcing-rest that expose
event streams as Atom using Restlet. Writing new EventStore implementations
seems pretty easy. The unit tests are far from complete and need some love. The
documentation is quite simply missing.
Niclas, when you said _"I think we need to treat Event Store as first-class
citizen in Qi4j, just like Entity Store, with full integration into the
UnitOfWork."_ was it to solve the issue spotted in the email at the second link
or something more?
I naïvely tried to move the call to UoWCallback.beforeCompletion() from before
applyChanges() to between applyChanges() and commit() as Rickard suggested. The
whole SDK tests pass including ones involving UoWCallbacks. But on the other
hand eventsourcing tests are pretty limited. What was your concern about not
moving this call apart from renaming the applyChanges method?
/Paul
> EventStore
> ----------
>
> Key: QI-280
> URL: http://team.ops4j.org/browse/QI-280
> Project: Qi4j
> Issue Type: New Feature
> Components: SPI
> Reporter: Niclas Hedhman
> Fix For: 2.0 - Reductionism
>
>
> Eventstore API/SPI and backend for storing events for EventSourcing.
> Currently StreamFlow one is based on JDBM, which works, but is not optimal
> perhaps
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://team.ops4j.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev