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 725CF200C68 for ; Wed, 3 May 2017 19:23:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70E07160BB5; Wed, 3 May 2017 17:23:23 +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 90B34160BA1 for ; Wed, 3 May 2017 19:23:22 +0200 (CEST) Received: (qmail 5224 invoked by uid 500); 3 May 2017 17:23:21 -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 5211 invoked by uid 99); 3 May 2017 17:23:21 -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; Wed, 03 May 2017 17:23:21 +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 C50A81A0163 for ; Wed, 3 May 2017 17:23:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.88 X-Spam-Level: X-Spam-Status: No, score=0.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=gmail.com 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 sIvuH30Hz7jN for ; Wed, 3 May 2017 17:23:18 +0000 (UTC) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 840A85FB48 for ; Wed, 3 May 2017 17:23:18 +0000 (UTC) Received: by mail-yw0-f179.google.com with SMTP id l18so88656727ywh.3 for ; Wed, 03 May 2017 10:23:18 -0700 (PDT) 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=EPbcXn9AmPls21efZbZR8DqR+6jlIFGZiFDP1Uk9t+U=; b=Y5/4S0/t+R8D+Oog/7RfyNpqdtPK1E4gru2rPgNQRBQ2mnH1nAQKmZtJ7YjO7ny31R P+0RxdSMw3ryoCnM7I0jVU8iKbU5cXjYFFl/ihdBP97Jfi8l6MfTXVcHIuPy0mIJJz9S R3qj3DKkJAvxQnJ9zicNS5bJXvkC8DmzMRYHBvJgSiFbLv1b3O6CsrkUGsHIXf/Q15LM qAP2+czr7PV6C5UKeFqsu0t3LSwBCFLhiB7U+0V1E/e3i6erFsJ9xbKudyVF2dcZco7Q PCzDzQHUbp/fB4ZH30+ubW6MD6tTdCaxHJ//w6Fwco/6PYnyYBsckbC5rsTXmUJ2uPzJ BE9Q== 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=EPbcXn9AmPls21efZbZR8DqR+6jlIFGZiFDP1Uk9t+U=; b=Zy3pZByFtwa821Bgh1VTpYaMfM05+/YXgODqqyZZebJ9WysuP/MCEGd+jdIEnGTrL7 RtE+wt6VRm0DCiuwOhO0VJduKLN3xqUPFRRxLFitCfNe1wavMjAeiDYoy9ImTGlPLLKA sxqMQKUVIElV8Q+oOnhvYfsUImxBGmmpJ82Pkc0R3WKHDdh5bzclpRIQNhPfQ7z4s3h5 Ft/0j/UND3rlz9UdiJy4Ufva88laD7n/FUGr/t2YKFLJIY2VrWSNH/q+r6zDLqOPMLWt lu6x/pkxhCxuCcFKce26aNDLY/d6bXmMWedyz1qUZr4kDJaNSWftNiC60i+1FtIVD7xP EchQ== X-Gm-Message-State: AN3rC/77YOdLT5M0vs8JHTZMM6meIlsjq1XqjNwnNGBKGyBgxhGOdr3V LANdsGuxx8n3TkQXFoTaJxtTP3ArZQ== X-Received: by 10.129.101.131 with SMTP id z125mr30459595ywb.11.1493832197995; Wed, 03 May 2017 10:23:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.174.143 with HTTP; Wed, 3 May 2017 10:22:57 -0700 (PDT) In-Reply-To: References: <98DED756-C649-40DE-B635-B6CB51B4293F@gmail.com> From: Mickael Maison Date: Wed, 3 May 2017 18:22:57 +0100 Message-ID: Subject: Re: [DISCUSS] KIP-137: Enhance TopicCommand --describe to show topics marked for deletion To: dev@kafka.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 03 May 2017 17:23:23 -0000 Yes it's what I was thinking when writing this up, JSON output would be nice. I'll be happy to have a look at it. I'm guessing that would require another KIP ? On Wed, May 3, 2017 at 8:26 AM, Ismael Juma wrote: > Yeah, structured output for the CLI tools would be great. 3 digit number > JIRA, nice. :) > > Ismael > > On Wed, May 3, 2017 at 7:05 AM, Ewen Cheslack-Postava > wrote: > >> Since everything is whitespace delimited anyway, I don't think we should >> worry about the compatibility issue. We don't guarantee this unstructured >> output format. I think it is fine to say that any parser that doesn't do >> something straightforward and reliable like splitting the line by >> whitespace then checking the : prefixed value to determine if it is usable >> is ok to break. >> >> Long term, we should really just get more structured output formats for the >> command line tools, a la https://issues.apache.org/jira/browse/KAFKA-313. >> >> -Ewen >> >> On Wed, Apr 26, 2017 at 2:59 AM, Ismael Juma wrote: >> >> > Right, the reason for inserting it before the configs is that >> > MarkedForDeletion is a fixed length field while configs is a variable >> > length field. The fact that MarkedForDeletion is optional and typically >> not >> > set means that it's also justifiable to place it after the configs. So, >> I'm >> > OK either way. >> > >> > Ismael >> > >> > On Wed, Apr 26, 2017 at 10:42 AM, Mickael Maison < >> mickael.maison@gmail.com >> > > >> > wrote: >> > >> > > Thanks for the feedback. >> > > >> > > I had the same thinking as James. Also we plan to only add the >> > > MarkedForDeletion field for topics pending deletion as the output of >> > > --describe is already pretty dense and most topics are never pending >> > > deletion. >> > > >> > > The only reason I came up to insert it in the middle is if Configs is >> > > long, then MarkedForDeletion could be pushed on a new line/off-screen. >> > > Am I missing something ? >> > > >> > > That said, I don't have a strong opinion about it and if most people >> > > prefer it the other way around I'll be happy to update the KIP. >> > > >> > > On Wed, Apr 26, 2017 at 12:25 AM, James Cheng >> > > wrote: >> > > > Having "MarkedForDeletion" before "Configs" may break anyone who is >> > > parsing this output, since they may be expecting the 4th string to be >> > > "Configs". >> > > > >> > > > I know that the Compatibility section already says that people >> parsing >> > > this may have to adjust their parsing logic, so maybe that covers my >> > > concern already. But inserting the new MarkedForDeletion word into the >> > > middle of the string seems like it'll break parsing more than just >> > adding a >> > > new value at the end. >> > > > >> > > > I'm fine either way, though. >> > > > >> > > > -James >> > > > >> > > >> On Apr 25, 2017, at 9:38 AM, Vahid S Hashemian < >> > > vahidhashemian@us.ibm.com> wrote: >> > > >> >> > > >> Thanks for the KIP Mickael. >> > > >> Looks good. I also prefer 'MarkedForDeletion' before 'Configs'. >> > > >> >> > > >> --Vahid >> > > >> >> > > >> >> > > >> >> > > >> From: Ismael Juma >> > > >> To: dev@kafka.apache.org >> > > >> Date: 04/25/2017 04:15 AM >> > > >> Subject: Re: [DISCUSS] KIP-137: Enhance TopicCommand >> --describe >> > > to >> > > >> show topics marked for deletion >> > > >> Sent by: ismaelj@gmail.com >> > > >> >> > > >> >> > > >> >> > > >> Thanks for the KIP. Would it make sense for MarkedForDeletion to be >> > > before >> > > >> `Configs`? I can see arguments both ways, so I was wondering what >> your >> > > >> thoughts were? >> > > >> >> > > >> Ismael >> > > >> >> > > >> On Thu, Mar 30, 2017 at 5:39 PM, Mickael Maison < >> > > mickael.maison@gmail.com> >> > > >> wrote: >> > > >> >> > > >>> Hi all, >> > > >>> >> > > >>> We created KIP-137: Enhance TopicCommand --describe to show topics >> > > >>> marked for deletion >> > > >>> >> > > >>> https://cwiki.apache.org/confluence/display/KAFKA/KIP- >> > > >>> >> > > >> 137%3A+Enhance+TopicCommand+--describe+to+show+topics+marked >> > > +for+deletion >> > > >>> >> > > >>> Please help review the KIP. You feedback is appreciated! >> > > >>> >> > > >>> Thanks >> > > >>> >> > > >> >> > > >> >> > > >> >> > > >> >> > > > >> > > >> > >>