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 48AB6200D64 for ; Tue, 26 Dec 2017 20:19:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 474F5160C13; Tue, 26 Dec 2017 19:19:46 +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 8B8C6160C0B for ; Tue, 26 Dec 2017 20:19:45 +0100 (CET) Received: (qmail 27779 invoked by uid 500); 26 Dec 2017 19:19:44 -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 27767 invoked by uid 99); 26 Dec 2017 19:19:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Dec 2017 19:19:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 81036180624 for ; Tue, 26 Dec 2017 19:19:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id eubpawflNU5g for ; Tue, 26 Dec 2017 19:19:41 +0000 (UTC) Received: from mail-it0-f53.google.com (mail-it0-f53.google.com [209.85.214.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9CEAE5F1F0 for ; Tue, 26 Dec 2017 19:19:41 +0000 (UTC) Received: by mail-it0-f53.google.com with SMTP id m11so25954318iti.1 for ; Tue, 26 Dec 2017 11:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bDZpu9ugmbt0HmPZAms9xUQBp/cx7F7chsNCSf0H5jM=; b=cF+dwJLU1Rvpd6YFzlf7jsPCud2QzwsDSHEmy2bqyB5CBOszuLDw+2KDYWNHGXvF0u cMjjGG/oTaNhJeSAROwkCvimVzLxtIjmZaixzNMS9b2TSqUXjs1rS19ZBdkbS6lbPRoB sOO48rS2rRHLU7jlkDuiEgd4TmtILzs+69j+ZQ2iki4yCoHmaAm0HezPyktigEew3SIj rAKY7d+Xkr33B+TBxXRfW5UdkDj1dNEVy6WMoX5P5gtipXWawiu+4bIqtlnnBo4h7CCK 4+bdQE0KXtkSRqQ6Hva9mKzgDhIY52j1UBAE+EipUKGOdKpI8tdtTwkdySouukkTqbox 58sg== 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=bDZpu9ugmbt0HmPZAms9xUQBp/cx7F7chsNCSf0H5jM=; b=i4DiAaufHk6n0oPLilvWL2FhSpzlzOJ3kAAxaqq2g4PQmSI6LMNodEXNRBdJxPhCvw V+GAGG12lh6siF2HpQ2DBIkZi7OiplqlX5XqiUS0pdwP/j7xlIT1h/mjT+CP0vHOUGdN b3c3b6TabAr0UM4IYiTPQlz3xm3flhT+6sxnUL3PS0NuMEgm0CAkoIIGtiEO9bKHne1l Pu31Z1zpnG6UhRX6GV8o4t8QgY5UfdI6EAwD1kAwu7QkZlWrrFPcPumd5DnzNxGRUvEB wN2yoLyJYaHQdrFwR2jiarXXH4oM7Zi/phsPu4jIFE5neoYQsaQ6Z7yV4H/oB205y1dI HCVw== X-Gm-Message-State: AKGB3mL9m8+55BbsPWS8k7aU+TBnJYLhGTdjKeiLbGyq7RVsK5bqkx72 YQzNZH80D4prM7poso02vUcycQ/G6yKBP9nPBmcytg== X-Google-Smtp-Source: ACJfBotv6fI56Wwqi3NxM+icOLe4YIj3xk76tUJWz7kw7iYDw2fc/R27m19Eg/qFi4tAAsClQ9dr6IsA4cccKqPxBj0= X-Received: by 10.36.206.130 with SMTP id v124mr33438850itg.81.1514315974697; Tue, 26 Dec 2017 11:19:34 -0800 (PST) MIME-Version: 1.0 References: <390f88cb-59c6-afca-268a-f36215030189@confluent.io> In-Reply-To: <390f88cb-59c6-afca-268a-f36215030189@confluent.io> From: Matthias Margush Date: Tue, 26 Dec 2017 19:19:24 +0000 Message-ID: Subject: Re: [DISCUSS]: KIP-230: Name Windowing Joins To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary="94eb2c0b199abfe6ed05614329d7" archived-at: Tue, 26 Dec 2017 19:19:46 -0000 --94eb2c0b199abfe6ed05614329d7 Content-Type: text/plain; charset="UTF-8" Greetings. Thanks for the comments and suggestions. I updated the KIP with these proposals for the questions posed by Matt & Matthias: *Can you please c&p the corresponding content instead of just putting links? A KIP should be a self-contained Wiki page. Also, if we add a optional config parameter, how would we specify it? **Please list all changes to want to apply to `Joined` class.* I added more details around the proposed changes directly to the KIP. *I will point out that your KIP doesn't outline what would happen if you picked a name that resulted in a non unique topic name? What would be the error handling behavior there?* Looking at the current behavior of methods that allow the user to specify names for internal resources (e.g. `reduce`, `aggregate`), I added a proposal that the code generate a similar exception if a name conflict is detected in the topology: org.apache.kafka.streams.errors.TopologyBuilderException: "Invalid topology building: Topic reduction-same-name-repartition has already been registered by another source." *What is the impact on KStream-KTable join?* Proposed that kstream-ktable joins similarly make use of the provided joinName when generating internal repartition topics. On Mon, Dec 4, 2017 at 2:57 PM Matthias J. Sax wrote: > Matthias, > > thanks for the KIP. > > Can you please c&p the corresponding content instead of just putting > links? A KIP should be a self-contained Wiki page. > > Also, if we add a optional config parameter, how would we specify it? > Please list all changes to want to apply to `Joined` class. > > Furthermore, `Joined` is also used for KStream-KTable join but the KIP > only talks about windowed joins (ie, KStream-KTream join). What the > impact on KStream-KTable join? > > > -Matthias > > On 11/29/17 6:09 AM, Matt Farmer wrote: > > Hi Matthias, > > > > I certainly have found the auto-generated names unwieldy while doing > > cluster administration. > > > > I will point out that your KIP doesn't outline what would happen if you > > picked a name that resulted in a non unique topic name? What would be the > > error handling behavior there? > > > > On Wed, Nov 29, 2017 at 9:03 AM Matthias Margush < > matthias.margush@gmail.com> > > wrote: > > > >> Hi everyone, > >> > >> I created this KIP to allow windowing joins to be named. If named, then > the > >> associated internal topic names would be derived from that, instead of > >> being randomly generated. > >> > >> > >> > https://cwiki.apache.org/confluence/display/KAFKA/KIP+230%3A+Name+Windowing+Joins > >> > >> Thanks, > >> > >> Matthias > >> > > > > --94eb2c0b199abfe6ed05614329d7--