Skip to content

Create CompletableFuture-based AsyncCassandraOperations and AsyncCqlOperations variants #1294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mp911de opened this issue Jul 25, 2022 · 0 comments
Labels
type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented Jul 25, 2022

Our AsyncCassandraOperations returns ListenableFuture as synchronization handle. With Spring Framework 6, ListenableFuture is being deprecated and that creates an opportunity to revisit our asynchronous Cassandra arrangement. We could deprecate AsyncCassandraOperations and move it into a side-by-side package to retain usage of the deprecated API while we introduce a AsyncCassandraOperations replacement based on CompletableFuture.

This path would not require to come up with a clunky name such as CompletableCassandraOperations and it would still allow usage of the ListenableFuture-based API.

@mp911de mp911de added the type: enhancement A general enhancement label Jul 25, 2022
@mp911de mp911de added this to the 4.0 M6 (2022.0.0) milestone Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant