Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 601F3200D61 for ; Tue, 19 Dec 2017 20:58:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5E758160C1B; Tue, 19 Dec 2017 19:58:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A2245160BFF for ; Tue, 19 Dec 2017 20:58:41 +0100 (CET) Received: (qmail 23425 invoked by uid 500); 19 Dec 2017 19:58:40 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 23413 invoked by uid 99); 19 Dec 2017 19:58:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2017 19:58:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 80068C5CFB for ; Tue, 19 Dec 2017 19:58:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7W01H_4HlW8N for ; Tue, 19 Dec 2017 19:58:34 +0000 (UTC) Received: from mail-ua0-f177.google.com (mail-ua0-f177.google.com [209.85.217.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4FFCE5F23C for ; Tue, 19 Dec 2017 19:58:34 +0000 (UTC) Received: by mail-ua0-f177.google.com with SMTP id q13so13753715uaq.8 for ; Tue, 19 Dec 2017 11:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ixvem92nkeWaMVbcFoUDQn4z4vY6ml3xXkfNWcc1ACs=; b=U/PNa7VcpwcKGsRy9uYSXutqI924gBAjGZbAwxHYwIKUby3B0H+Zadn5uLXNzgh6oU evslPTj99De/ygrxd/D/gjNgMGAB3BYEpq5GssD9PFc6EURJ2iMoJjxmmInROstrn81r Bb9nFfQNTCjQUKlagSCPwbdBsINq/cDCb2h+Do2PwXF+S9T5X5LQACHyX21K0zEGeurI kA9bFLryG+bKAm/3AD52hEMftkSkEPysRtsDyYHXL1+TaQg9lHY7E/uk7ejmOMEMRM+8 gB6o78b1XwjcELaygj0bf454MMNo7VfO1IthCc2ClqRs07+I69WlioCn9JMuVC1Koi21 GbAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ixvem92nkeWaMVbcFoUDQn4z4vY6ml3xXkfNWcc1ACs=; b=UqxS0Z+tQIlW6FgaPOvLOmeFLprzjG18VmuhfsPaUvX6XcNPPo8gfNBFUn27vtNMW2 2sPxvj7RdkFNpV3wEutU+39NsKHmjGYaid1SWk2BtDQm88K13QJ3+K6KknLwydKunYaE bNghyJrU6myIl6b4cD0JhUPJOj6oumVEY22b14IhFMcPcDQ3B36zCp+7wS5y44mlYE4B Kk7+8p8q5ZJlHq6sGYrCk1Y5cZe7cb4m2/dQF/9tNdTTAkGpC2X0qLZqifPEtN7h3jG1 O00zztloPN/xgL2mC/O5HSqEqwo2vbRMlMt8cky9ockZ7aq07bnhU03XHJ45aenW412H u9Qg== X-Gm-Message-State: AKGB3mIIf0MVz42DSZzUhJIUoexqbXF5R4okGRpwBeWG7HxqKtOr+aFb uWeYneIpAd/3q8xbOAfDzflVFisyYXOlSeo6Q1zVvg== X-Google-Smtp-Source: ACJfBouSe6+GFD9yBNbHq/59ppIypD2PmPj54m2klqVLoSpIKS9/AVxXHX1cq6NIffgp2MOctN3EJ+Y/z+iBczEW34E= X-Received: by 10.176.9.230 with SMTP id e38mr4826237uah.64.1513713513657; Tue, 19 Dec 2017 11:58:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.213.158 with HTTP; Tue, 19 Dec 2017 11:58:13 -0800 (PST) In-Reply-To: References: <1509995885.2977722.1163515256.51D49E8A@webmail.messagingengine.com> <1513047241.516184.1201934328.324519C2@webmail.messagingengine.com> From: Steven Aerts Date: Tue, 19 Dec 2017 20:58:13 +0100 Message-ID: Subject: Re: [DISCUSS] KIP-218: Make KafkaFuture.Function java 8 lambda compatible To: dev@kafka.apache.org Content-Type: text/plain; charset="UTF-8" archived-at: Tue, 19 Dec 2017 19:58:42 -0000 Hello Ismael. Thanks for you feedback. > 1. The KIP seems to rely on the pull request for some of the details of the > proposal. Generally, the KIP should stand on its own. Looking back at what I wrote in the KIP, I agree that its style is too descriptive and relies too much on the content of the PR. I will keep it in mind, and try to do better next time. But as the voting is over I assume I better not alter it any more. > 2. Do we really need to deprecate `Function`? This will add build noise to > any library that builds with 1.1+ but also wants to support 0.11 and 1.0. No we don't. It is all a matter of how fast we can and want an api tagged with @Evolving, to evolve. As we know, that it will evolve again when KIP-118 (dropping java 7) is implemented. As the voting is over, I am rather reluctant to change it. But if more people agree with you, I still want to do it. > 3. `FunctionInterface` is a bit of a clunky name. Due to lambdas, users > don't have to type the name themselves, so maybe it's fine as it is. An > alternative would be `BaseFunction` or something like that. I share a little bit your feeling, as the best name for me would just be `Function`. But that one is taken. Again, voting is over, so if more people agree with you, I still want to reopen and change it. -- Steven