From dev-return-104723-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Tue Jun 4 22:10:26 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 91AB118064D for ; Wed, 5 Jun 2019 00:10:26 +0200 (CEST) Received: (qmail 94677 invoked by uid 500); 4 Jun 2019 22:10:20 -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 94665 invoked by uid 99); 4 Jun 2019 22:10:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 22:10:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 618E11A44F8 for ; Tue, 4 Jun 2019 22:10:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=confluent.io Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sher0LhSu6rt for ; Tue, 4 Jun 2019 22:10:15 +0000 (UTC) Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7A09D5FB79 for ; Tue, 4 Jun 2019 22:10:15 +0000 (UTC) Received: by mail-oi1-f181.google.com with SMTP id v186so2518483oie.5 for ; Tue, 04 Jun 2019 15:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=confluent.io; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=k78+GbxHRQgDtOUnMDcB0zFOWoYX72HwMxRAQ0BjjDU=; b=J8xg0zeQKoeGcivdnkTRpv48Ur2JCQiJA1UORUvmNnk0aiPWpIAsWOnJXkJDu3cyv/ OXp8LxaTwZvRXzVdUccx8zHnMKd+B7JeHOorMGSQsSQQ+MfFD5TgstT3D/N9UxjIBMR4 FY4xmys+UOBa46h6oW91/pimEb56kjvRTOL9Jn7aHiWW/8sHmNGGeC0v5zoWEdv9a7Rw plD2S0RoD2QDjSZc7wxvQAugsf3h9vnV2Cf4Q6P7S5icXWmJ9zippG/C3YJK5x0KZf7w dVcZtVAW2zUpg+vwE/ICg4TQctaq5NUymRa/bZa7Fi5TE24fMlFMztUkAYyQUl/egaq7 P0eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=k78+GbxHRQgDtOUnMDcB0zFOWoYX72HwMxRAQ0BjjDU=; b=oJDzI1oAGLgE9qXdoVcLL+WRdTWhpTs9gZzlLNmnenrqHmp07gBTemGtnFXKimPgrG XLx5r+2w4hBg/f8WOHHinyKKZBD6ijvBhgeIZmrNBbTds6cNHsNjvd/irjZK64A5Spdh uK4lsrj2hls6yJjzOOCAjNHJnuQH4EMfD4GfUhrE2y9eRvOG3QngX4m8Twmk+ejlJ6TH uC5mv+7XSrS29fPyY2BCA/1uU7sq2k36oQ3CLx/bh4SyIfvLoRinUJHZspz0EhL5BxiL BzHsO7DZ50/Gq0M/mfSSKM6f49MGnLQLFcTRGr2hloRERngn4lSgAwW3mCXIefk+YDF/ hRvA== X-Gm-Message-State: APjAAAWMLKeexvzb9AetGFPhtqJ9DSBOAxi7bZMSgJ6TNF/x6LdZGaXX TXa+D47DhmpYWjfAPJFen7hUlceajfEPJNEm7TKeWKaKOE4= X-Google-Smtp-Source: APXvYqwyNjgt768H6ZyAiFA12uftjhjpr3SKUpyl+5kgku7558bVzeV2uOizLoDW/GXGVmkDNBlk+hCO1bL1Yj5VEN0= X-Received: by 2002:aca:b8c3:: with SMTP id i186mr5743367oif.163.1559686208864; Tue, 04 Jun 2019 15:10:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jose Armando Garcia Sancio Date: Tue, 4 Jun 2019 15:09:57 -0700 Message-ID: Subject: Re: [DISCUSS] KIP-460: Admin Leader Election RPC To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary="00000000000070e819058a86be7d" --00000000000070e819058a86be7d Content-Type: text/plain; charset="UTF-8" Hi all, During the implementation of KIP-460, we discovered that we had to make some minor changes to the design. I have updated the KIP wiki[1]. You can see the difference here[2]. At a high-level we made the following changes: 1. Added a top level ErrorCode to the response for errors that apply to all of the topic partitions. This is currently being used for cluster authorization errors. 2. We renamed the delayedOperation for DelayOperationPurgatory from ElectPreferredLeader to ElectLeader. [1] https://cwiki.apache.org/confluence/display/KAFKA/KIP-460%3A+Admin+Leader+Election+RPC . [2] https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=113707931&selectedPageVersions=19&selectedPageVersions=18 --00000000000070e819058a86be7d--