Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 28157180630 for ; Tue, 2 Jan 2018 20:19:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 181F5160C26; Tue, 2 Jan 2018 19:19:15 +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 377D8160C09 for ; Tue, 2 Jan 2018 20:19:14 +0100 (CET) Received: (qmail 22753 invoked by uid 500); 2 Jan 2018 19:19:13 -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 22741 invoked by uid 99); 2 Jan 2018 19:19:12 -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, 02 Jan 2018 19:19:12 +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 C4A6E1A0225 for ; Tue, 2 Jan 2018 19:19:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.89 X-Spam-Level: * X-Spam-Status: No, score=1.89 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] 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 wCPsZ8kXJ7-b for ; Tue, 2 Jan 2018 19:19:07 +0000 (UTC) Received: from mail-ot0-f176.google.com (mail-ot0-f176.google.com [74.125.82.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 786295F3B6 for ; Tue, 2 Jan 2018 19:19:07 +0000 (UTC) Received: by mail-ot0-f176.google.com with SMTP id a42so22061726otj.5 for ; Tue, 02 Jan 2018 11:19:07 -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=cNAWn8OTqSkm+lNZ6ZxldlDVTfLnCcWHFJWjbETaXss=; b=dSMloYQaYWGRuulnjzqpf18Z+5PdzeryOsM2hkIPXf6KuWYfcoAGM+RcmzpJcaBino dwA4NJKfLZblCOi8g7uupX6uN9Rzd+SKFGeeKuzrWcKfnRudUszZk54Tsmv+BhSHyaDT X3hMuNq3ltdsGruTqqWjAyLxwsP2RcF5b92C903dcS315b4L+mhItPptI6j4qVKx1362 9rkVoeP3s9zAKlhgJYEwgFmCy/16Fjsbi221y4szb1MbHHd7k50g5QH2EzzNQa+TGYuv fpSyd6paAAIDgQgfshKm3ZrzOADLzi7Z1d5vHBU38S8OD7KPmHnIWbUmvSxBkM0pOkx9 fWjw== 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=cNAWn8OTqSkm+lNZ6ZxldlDVTfLnCcWHFJWjbETaXss=; b=cDiY4/MXssydNcgptpnf7zN7MTkkUz1qHRcx/3zXNzWn+yr6PbNgNrKUzxuKrK4qML 3Ow87F8AJ943BIlb/RZFjqzoY8Kt9S5XGENEDk7vXBW198A4F0DPVoqTR1lY/eUxMth5 38i/q8tSH0e3SAxB+dqgesxH4EqofhFXOYPmC+hjg64XMZmxwlcAizTJu45uRsMN5Rhz qe3NSCDkgvlzk2uQqGe+/8HMQ3Cx9sI+5jWW7Um9iG3JnhxPH6j7ZNgBNv2KiVuV3Ljm FL97RzAsOsnCGjJjbOHy0hXNd3YJ2N2bjXX3hjjX1DPLC4l+IPq9qgQcB7grcPkGwZeO B0Hw== X-Gm-Message-State: AKGB3mLpIQ1VAnVAJdtXZp+pbP6ipm9xYM/AbvqtYx+l3TaJ8f0VTOt4 iL8ewcjzEE6Ym3Q3x9zfMx+wctMRN2lEMAHzHDl8Qw== X-Google-Smtp-Source: ACJfBovWEGhaUpncdyMxvNUr+Kj1pcfpzfYdFkhU/PN+0MnaH4uHanmXo8yGE7aiTSSnEs+OhIhid0aM0Bor92y0c1g= X-Received: by 10.157.17.136 with SMTP id v8mr37863278otf.84.1514920740318; Tue, 02 Jan 2018 11:19:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.25.84 with HTTP; Tue, 2 Jan 2018 11:18:59 -0800 (PST) In-Reply-To: References: <5a4246b3.1c96620a.8cc25.7c95@mx.google.com> <02cc1186-cdfd-794b-16bd-0585819af8ef@confluent.io> From: Guozhang Wang Date: Tue, 2 Jan 2018 11:18:59 -0800 Message-ID: Subject: Re: Vote for KIP-245: Use Properties instead of StreamsConfig in KafkaStreams constructor To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary="94eb2c1904f296f4510561cff8de" archived-at: Tue, 02 Jan 2018 19:19:15 -0000 --94eb2c1904f296f4510561cff8de Content-Type: text/plain; charset="UTF-8" Boyang, Thanks for the proposed change, the wiki page lgtm. One minor comment otherwise I'm +1: For the new API, we now also have a constructor that accepts both a clientSupplier and a Time, so we should consider having four overloads in total: // New API (using Properties) public KafkaStreams(final Topology, final Properties props) public KafkaStreams(final Topology, final Properties props, final Time time) public KafkaStreams(final Topology, final Properties props, final KafkaClientSupplier clientSupplier) public KafkaStreams(final Topology, final Properties props, final KafkaClientSupplier clientSupplier, final Time time) Guozhang On Tue, Dec 26, 2017 at 7:26 PM, Satish Duggana wrote: > Thanks for the KIP, +1 from me. > > On Wed, Dec 27, 2017 at 7:42 AM, Bill Bejeck wrote: > > > Thanks for the KIP. +1 for me. > > > > On Tue, Dec 26, 2017 at 6:22 PM Ted Yu wrote: > > > > > +1 from me as well. > > > > > > On Tue, Dec 26, 2017 at 10:41 AM, Matthias J. Sax < > matthias@confluent.io > > > > > > wrote: > > > > > > > Thanks for the KIP Boyang! > > > > > > > > I don't have any further comments. > > > > > > > > +1 from me. > > > > > > > > @Ted: This is a rather simple KIP, thus, skipping the DISCUSS thread > > > > seems ok to me. > > > > > > > > > > > > > > > > -Matthias > > > > > > > > > > > > @Boyang: it's recommended to use this format for the subject > > > > > > > > "[VOTE] KIP-245: ..." > > > > > > > > Same for DISCUSS threads. People are used to those headlines and they > > > > pay more attention than. For this KIP, just leave it as it though. > For > > > > future reference only > > > > . > > > > > > > > > > > > On 12/26/17 4:55 AM, Ted Yu wrote: > > > > > Normally a DISCUSS thread precedes VOTE thread so that people have > > > ample > > > > time examining the proposal. > > > > > -------- Original message --------From: Boyang Chen < > > > bchen11@outlook.com> > > > > Date: 12/26/17 1:22 AM (GMT-07:00) To: dev@kafka.apache.org > Subject: > > > > Vote for KIP-245: Use Properties instead of StreamsConfig in > > KafkaStreams > > > > constructor > > > > > Hi there, > > > > > > > > > > I'm Boyang who is a newbie contributor to Kafka. I would like to > > start > > > a > > > > vote for the KIP-245: > > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > > > > > > > 245%3A+Use+Properties+instead+of+StreamsConfig+in+ > > KafkaStreams+constructor > > > > > > > > > > > > > > > This is linked with JIRA: https://issues.apache.org/ > > > > jira/browse/KAFKA-6386 > > > > > > > > > > [KAFKA-6386] Deprecate KafkaStreams constructor taking ...< > > > > https://issues.apache.org/jira/browse/KAFKA-6386> > > > > > issues.apache.org > > > > > Currently, KafkaStreams constructor has overloads that take either > > > > Properties or StreamsConfig a parameters. Because StreamsConfig is > > > > immutable and is created from a ... > > > > > > > > > > And my pull request is here: > > > > > > > > > > > > > > > https://github.com/apache/kafka/pull/4354 > > > > > > > > > > > > > > > Since this is my first time doing this, feel free to let me know if > > > this > > > > is the correct format! > > > > > > > > > > > > > > > Best, > > > > > > > > > > Boyang > > > > > > > > > > > > > > > > > > > -- -- Guozhang --94eb2c1904f296f4510561cff8de--