-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Change APIs to use CompletableFuture Instead of ListenableFuture #2357
Comments
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 19, 2022
Resolves spring-projects#2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods will be removed in 3.0. Provide mechanisms to ease the migration; allowing users to use `CompletableFuture`s in this release, which will significantly reduce the effort to switch in 3.0. **2.9 Only; I will issue a separate PR for main**
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 19, 2022
Resolves spring-projects#2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods will be removed in 3.0. Provide mechanisms to ease the migration; allowing users to use `CompletableFuture`s in this release, which will significantly reduce the effort to switch in 3.0. **2.9 Only; I will issue a separate PR for main**
artembilan
pushed a commit
that referenced
this issue
Jul 20, 2022
Resolves #2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods will be removed in 3.0. Provide mechanisms to ease the migration; allowing users to use `CompletableFuture`s in this release, which will significantly reduce the effort to switch in 3.0. **2.9 Only; I will issue a separate PR for main**
garyrussell
added a commit
that referenced
this issue
Jul 20, 2022
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 20, 2022
Resolves spring-projects#2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods have now been removed in 3.0.
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 20, 2022
Resolves spring-projects#2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods have now been removed in 3.0.
artembilan
pushed a commit
that referenced
this issue
Jul 21, 2022
Resolves #2357 Spring Framework is planning to deprecate `ListenableFuture` in 6.0. Add methods to the `KafkaOperations` (`KafkaTemplate`) that return `CompletableFuture` instead; the `ListenableFuture` methods have now been removed in 3.0. * Remove KafkaOperations2; doc polishing. * Fix import.
fmbenhassine
pushed a commit
to spring-projects/spring-batch
that referenced
this issue
Jul 26, 2022
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 27, 2022
Resolves spring-projects#2357 **main only; will issue separate PR to deprecate setters in 2.9**
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 27, 2022
Resolves spring-projects#2357 **main only; will issue separate PR to deprecate setters in 2.9**
artembilan
pushed a commit
that referenced
this issue
Jul 27, 2022
Resolves #2357 **main only; will issue separate PR to deprecate setters in 2.9**
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Jul 27, 2022
Resolves spring-projects#2357 **Back-ported from main with deprecated accessors**
artembilan
pushed a commit
that referenced
this issue
Jul 27, 2022
Resolves #2357 **Back-ported from main with deprecated accessors**
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spring is planning on deprecating ListenableFuture in 6.0.
spring-projects/spring-framework#27780
Add methods that use
CompletableFuture
to the templates and deprecate those that returnListenableFuture
so we can remove them and have a clean API in 3.0.The text was updated successfully, but these errors were encountered: