Hi,

Following Ismael's question in the discussion of KIP-774 (Deprecate public
access to Admin client's *Result constructors), I'd like to propose the
alternative resolution of making all the constructors public.

https://cwiki.apache.org/confluence/display/KAFKA/KIP-777%3A+Improved+testability+for+Admin+client

This is much closer to what was originally proposed in KIP-692, though with
more reasoning about how we can change the constructors in future while
maintaining compatibility. It also proposes to add
KafkaFuture.failedFuture() to avoid people needing to use KafkaFutureImpl
in tests.

Thanks,

Tom

Reply via email to