@Deprecated
    @Override
    public <R> KafkaFuture<R> thenApply(Function<T, R> function) {
        return thenApply((BaseFunction<T, R>) function);
    }
@see KafkaFutureImpl#thenApply(BaseFunction)
@deprecated Since Kafka 3.0.
clients/src/main/java/org/apache/kafka/common/internals/KafkaFutureImpl.java