I was doing a test of new Lagom 1.5.1 version using a simple service with cassandra and postgres (readside) persistence.
For the test I’m using cassandra 4 (I compiled it locally from cassandra’s git repository) and Java 11 (amazon-corretto-126.96.36.199.3).
The startup looked good and tables were created in postgress, unfortunately during cassandra’s keyspace initialization the following error arose:
java.util.concurrent.ExecutionException: com.datastax.driver.core.exceptions.InvalidQueryException: Clustering key columns must exactly match columns in CLUSTERING ORDER BY directive
And some of the tables weren’t created in cassandra’s keyspace.