Cassandra schema transition in java

I have been writing in .NET and the Entity Framework for quite some time, and I'm used to First Migration. The idea is that you describe your tables in code and create a migration. In some check, the current database schema compares it with the current code, and if there are changes, it creates / modifies / cancels the tables. After that, the script is migrated and the database schema is updated.

I am currently developing a Java application that works with a Cassandra database. Since there will be many tables (data replication to create data representations), I want to use the same approach that I used with Entity Framework Migrations. It will be much easier for me if I can problematically change the Cassandra Keyspace schema, so I don’t need to write a lot of CQL code to add one property to many tables.

Is it possible to do this with Cassandra? Are there any tools for this?

So far, I have found Pillar migration, but I do not think that it will do the job.

+4
source share

Source: https://habr.com/ru/post/1598891/


All Articles