Environment:
- Akka 2.7.0
- Akka Projection: 1.3.1
- Cassandra Driver: 4.15.0
- Akka Persistence Cassandra: 1.1.0
Problem
I copy the DDL scripts for offset and projection_management schema, replace the keyspace with mine, then create the tables.
CREATE TABLE IF NOT EXISTS eproject_models.offset_store (
projection_name text,
partition int,
projection_key text,
offset text,
manifest text,
last_updated timestamp,
PRIMARY KEY ((projection_name, partition), projection_key));
CREATE TABLE IF NOT EXISTS eproject_models.projection_management (
projection_name text,
partition int,
projection_key text,
paused boolean,
last_updated timestamp,
PRIMARY KEY ((projection_name, partition), projection_key));
But when I run my app, the log shows: “Undefined column name offset in table eproject_models.projection_management”.
[2023-04-15 12:00:39,065] [WARN] [akka.stream.scaladsl.RestartWithBackoffSource] [akka://eProject@127.0.0.1:2551] [] [eProject-akka.actor.default-dispatcher-12] - Restarting stream due to failure [1]: com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: Undefined column name offset in table eproject_models.projection_management
Thanks.
1 post - 1 participant