3.x から 4.x への移行ガイド
Apache Cassandra 4.0 用の Spring Data では、以前のバージョンからアップグレードするときに、一連の重大な変更が導入されます。
非同期テンプレート API
ListenableFuture、AsyncCqlOperations、AsyncCassandraOperations の非推奨に伴い、その依存クラスは CompletableFuture に移行されました。アプリケーションが ListenableFuture に大きく依存しており、CompletableFuture に簡単に移行できない場合は、legacy サブパッケージ内の従来の Async … Operations 型に切り替えることをお勧めします。つまり、AsyncCqlOperations の場合は org.springframework.data.cassandra.core.cql.legacy、AsyncCassandraOperations の場合は org.springframework.data.cassandra.core.legacy です。