New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cassandra Projection #21
Milestone
Comments
patriknw
added a commit
that referenced
this issue
Apr 20, 2020
* CassandraProjection * only added atLeastOnce to start with, will add atMostOnce and grouped in separate PR * CassandraOffsetStore * offset stored as string and manifest, similar to Slick OffsetStore * tests very similar to Slick tests, credit to @renatocaval
patriknw
added a commit
that referenced
this issue
Apr 21, 2020
* CassandraProjection * only added atLeastOnce to start with, will add atMostOnce and grouped in separate PR * CassandraOffsetStore * offset stored as string and manifest, similar to Slick OffsetStore * tests very similar to Slick tests, credit to @renatocaval
patriknw
added a commit
that referenced
this issue
Apr 22, 2020
* CassandraProjection * only added atLeastOnce to start with, will add atMostOnce and grouped in separate PR * CassandraOffsetStore * offset stored as string and manifest, similar to Slick OffsetStore * tests very similar to Slick tests, credit to @renatocaval
patriknw
added a commit
that referenced
this issue
Apr 22, 2020
* CassandraProjection * only added atLeastOnce to start with, will add atMostOnce and grouped in separate PR * CassandraOffsetStore * offset stored as string and manifest, similar to Slick OffsetStore * tests very similar to Slick tests, credit to @renatocaval * test saveOffsetAfterElements and saveOffsetAfterDuration * Docker Cassandra in Travis
patriknw
added a commit
that referenced
this issue
Apr 22, 2020
patriknw
added a commit
that referenced
this issue
Apr 22, 2020
* no need for user to use it directly * rename slick.OffsetStore to SlickOffsetStore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The goal is to provide a projection that is backed by a Cassandra offset storage that can be used to track offsets.
The offset storage should support different kinds of offsets: Long, akka.persistence.Sequence, akka.persistence.TimeBasedUUID.
This projection won't support transactions and therefore can be offer delayed commits (commit every 100 events for example).
Use cases:
Specs:
since non-transactional, event handler can be a function E => Future[Done] where E is any envelope
We have a privileged situation when reading from Akka Persistence Journal, as we know how the envelope looks like, we know how to extract the offset (no need for extractor). However, we need a special offset store that knows how to write and read akka.persistence.Offset
Tasks:
eventsByTag
sourceThe text was updated successfully, but these errors were encountered: