Hi Tom,

I think it makes sense to go with the incremental option. I don't like
CompletableFuture because it exposes a bunch of unsafe methods. Since we're
adding this to `KafkaFuture`, then methods like `get` are already
available. What benefit is there for exposing `CompletableFuture` instead
of `CompletionStage`?

Ismael

On Fri, Jan 22, 2021 at 7:02 AM Tom Bentley <tbent...@redhat.com> wrote:

> Hi,
>
> Following a recent discussion on a PR[1], I've written KIP-707 to establish
> what should be done to improve the API of KafkaFuture.
> If you have the time, your comments would be most welcome, as some of the
> rejected alternatives are not unreasonable.
>
>
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-707%3A+The+future+of+KafkaFuture
>
> Many thanks,
>
> Tom
>
> [1]: https://github.com/apache/kafka/pull/9878
>

Reply via email to