pjfanning opened a new pull request, #515:
URL: https://github.com/apache/pekko-persistence-cassandra/pull/515

   ### Motivation
   
   The Amazon Keyspaces example sets `basic.request.consistency = 
LOCAL_QUORUM`, but the plugin's `pekko-persistence-cassandra-profile` sets 
`consistency = QUORUM` in `reference.conf`, which overrides it for every 
journal and snapshot request. The example also does not show the truststore 
settings that `DefaultSslEngineFactory` needs for the Keyspaces TLS endpoint.
   
   ### Modification
   
   Port of akka/akka-persistence-cassandra#1029 (Akka Persistence Cassandra 
1.2.0, Apache 2.0 since its change date 2026-10-25), adapted to Pekko:
   
   - Add a `profiles.pekko-persistence-cassandra-profile` block setting 
`LOCAL_QUORUM` (upstream uses the Akka profile name).
   - Add `truststore-path`, `truststore-password` and `hostname-validation` to 
the `ssl-engine-factory` example.
   - Add a sentence explaining why the profile override is needed. This 
sentence is Pekko-only.
   
   ### Result
   
   The Keyspaces configuration example uses `LOCAL_QUORUM` for the plugin's own 
requests and shows the TLS truststore settings.
   
   ### Tests
   
   - Not run - docs only
   - `sbt docs/paradox` — passed.
   - `git diff --check` — clean.
   
   ### References
   
   Refs akka/akka-persistence-cassandra#1029 - source of the change (Akka 
Persistence Cassandra 1.2.0, BSL change date 2026-10-25).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to