You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Akka Persistence Cassandra plugin up to 0.104 (because of the underlying Cassandra client) requires explicit programmatic set of consistency levels on each PreparedStatement.
Note that the read, using session.selectOne, does automatically pick up the read consistency configured for APC, so only the offset write and any other manually created PreparedStatements needs a fix.
Additionally the docs and samples should probably mention the need to set consistency level on user writes to Cassandra in the read side processor.
The text was updated successfully, but these errors were encountered:
Akka Persistence Cassandra plugin up to 0.104 (because of the underlying Cassandra client) requires explicit programmatic set of consistency levels on each
PreparedStatement
.The read side offset tracking in https://github.com/lagom/lagom/blob/master/persistence-cassandra/core/src/main/scala/com/lightbend/lagom/internal/persistence/cassandra/CassandraOffsetStore.scala however does do that and instead will get the default consistency of the client (the C* client API docs says
ONE
). A client default is not configurable with the versions of the client/APC used in Lagom (the version used in APC 1.0.0 and later does though).Note that the read, using
session.selectOne
, does automatically pick up the read consistency configured for APC, so only the offset write and any other manually createdPreparedStatement
s needs a fix.Additionally the docs and samples should probably mention the need to set consistency level on user writes to Cassandra in the read side processor.
The text was updated successfully, but these errors were encountered: