Skip to content
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

Remove Guava dependency, use CompletableFuture #502

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

etspaceman
Copy link

Description of changes:

A proposal to use CompletableFuture instead of ListenableFuture.

Currently the KPL uses ListenableFuture, which was introduced by Guava prior to Java 8's release of CompletableFuture. Since the build for the KPL targets Java 8, it didn't seem to make much sense to continue to use Guava here. Much of the ecosystem has built abstractions and libraries around CompletableFuture use, so it makes sense for the KPL to follow that lead.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@kbos-work kbos-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree that the library depends on to much, this PR classifies as the same #526. We should stop depending on libraries for a single class / function

@etspaceman
Copy link
Author

Looks like this has a couple of approvals, what is preventing a merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants