james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Asatryan (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2433) Implement EventStore for a JPA backend
Date Mon, 05 Nov 2018 19:06:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675617#comment-16675617

Edgar Asatryan commented on JAMES-2433:

I'll take this if you don't mind.

> Implement EventStore for a JPA backend
> --------------------------------------
>                 Key: JAMES-2433
>                 URL: https://issues.apache.org/jira/browse/JAMES-2433
>             Project: James Server
>          Issue Type: New Feature
>          Components: jpa
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: feature
> We introduced an Event sourcing implementation in James, allowing us to build complex
features in a generic manner. Currently, OverQuota mailing, as well as DLP rule storage relies
on an Event sourcing system. More features might rely on this mechanism. The cool thing is
that the only thing a back-end need to do to support these features is to implement its own
> JPA implementation is currently missing. We can:
>  - Generify Cassandra's Event serialization DTO & DTO modules (in a event-store-dto
maven module)
>  - Introduce a **event-store-jpa** module with a JPA implementation of it.
>  - And finally add the missing Guice bindings in jpa-common & jpa-guice guice project
to bind event-store and support related features.
> Link to the event-sourcing implementation: https://github.com/apache/james-project/tree/master/event-sourcing
> If you want to handle this issue, and need guidance, please reach us on Gitter: https://gitter.im/apache/james-project

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message