Can't we just say `return future.completeExceptionally(error.exception());`? As I see `completeExceptionally` returns `false` only in the case when the future has been completed before. Is it a realistic scenario that we complete this future for the second time?
[ Full content available at: https://github.com/apache/kafka/pull/5578 ] This message was relayed via gitbox.apache.org for [email protected]
