blob: 336d276da8ab2dd579b1eddc6f4bb3af13102795 [file] [log] [blame] [view]
# 4. Distributed Tasks listing
Date: 2019-10-02
## Status
Accepted (lazy consensus) & implemented
## Context
By switching the task manager to a distributed implementation, we need to be able to `list` all `Task`s running on the cluster.
## Decision
* Read a Cassandra projection to get all `Task`s and their `Status`
## Consequences
* A Cassandra projection has to be done
* The `EventSourcingSystem` should have a `Listener` updating the `Projection`
## References
* [JIRA ticket](https://issues.apache.org/jira/projects/JAMES/issues/JAMES-2813)