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 C282B200B36 for ; Wed, 6 Jul 2016 22:33:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C10E8160A64; Wed, 6 Jul 2016 20:33:25 +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 134E8160A55 for ; Wed, 6 Jul 2016 22:33:24 +0200 (CEST) Received: (qmail 60747 invoked by uid 500); 6 Jul 2016 20:33:24 -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 60735 invoked by uid 99); 6 Jul 2016 20:33:23 -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, 06 Jul 2016 20:33:23 +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 65D661A0850 for ; Wed, 6 Jul 2016 20:33:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 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, SPF_PASS=-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 unZ0tGmg1jsz for ; Wed, 6 Jul 2016 20:33:21 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E02905FB6F for ; Wed, 6 Jul 2016 20:33:20 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id f6so162139047lfg.0 for ; Wed, 06 Jul 2016 13:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cEnDmOvHxuhrPAKVo+YAjnqjYEKfN7R+MUGq9xqNjAw=; b=JFpGWD9qW07dJTu6U7vyGZmB1QM+DQDHdjVOTr+ETcxZi1zqmw5UnMiedv8EFVX0MA MKk3Yc9/73pIeNq00eEEaaSAmZCiP0snaCAPvcryCeqxa/pvgVj7N7FtV1ifGr7MIPsR 0JiOBp9+V5An/Y1F0Hq94kAbDh6jM9FI6lbuJxTkYNkEDWYBjFMeZuv5lr1QrQoCddoY rxlpNQLt2XfEnQGeOEgRx7sJIvV1ebismX+ZgySiuvALrpSgdGdLJetdTaPj3u/vcZEy fgtX8kMdg/cELBcsPNGQpQ+ppDmg/SjOCZA+oOT5iJcOY9NwbZFsrWSWT6Wq9+yJPcMj Ra+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cEnDmOvHxuhrPAKVo+YAjnqjYEKfN7R+MUGq9xqNjAw=; b=Qdtwb7dS9XjBiedi5IFKNOmGJdr1GrujS7ZnEleJHhkErCjJhDxq/NIohxPWmTIMl1 2bfoFaf8n/cbIM6Nl8NjHnDgdB7XijyPBqIiU8RV5sgsIKoBd6cIgvGTb10xOmPafhwv CuS6/++SNO1dPbGX40E0+DgWCMkS5zfvnz82QvGOQJjWVi6XLw90fXrNRDkcd1NSV5xR XRuITAcZW6OQ2+T4ZTmoziTfTg9OOG0GHEjifAZOOV3QceGFoZB75U1SSx3GFyQ1mWLT ZTdr+thufTVGeT40QOA7Jzz6W9Gz3TKIshITsNsVR7dzDi3Kk7eI+kGaAMZVtCkqJa35 8SsQ== X-Gm-Message-State: ALyK8tKyTWqfuSS6gxBqJBOmvZ6QPHCnPfKPc+M7flJerMQ2IZzCGBLyvS+oBktJxuTdO6vha2gh8wE1V4rLjQ== X-Received: by 10.25.206.148 with SMTP id e142mr6873008lfg.182.1467837198933; Wed, 06 Jul 2016 13:33:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jeyhun Karimov Date: Wed, 06 Jul 2016 20:33:09 +0000 Message-ID: Subject: Re: Parallelisation factor in kafka streams To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary=001a1140076cd4a4460536fd7a86 archived-at: Wed, 06 Jul 2016 20:33:25 -0000 --001a1140076cd4a4460536fd7a86 Content-Type: text/plain; charset=UTF-8 Thank you for your answer Matthias. Is it possible to change the parallelism in runtime? Or do we have to restart the cluster? On Wed, 6 Jul 2016 at 19:08, Matthias J. Sax wrote: > Hi Jeyhun, > > the number of partitions determine the number of tasks within a Kafka > Streams application and thus, the maximum number of parallelism for your > application. > > For more details see > http://docs.confluent.io/3.0.0/streams/architecture.html#parallelism-model > > You can set the number of threads for a single application instance, via > parameter "num.stream.threads" (default value is 1). > > See > > http://docs.confluent.io/3.0.0/streams/developer-guide.html#optional-configuration-parameters > > > -Matthias > > On 07/06/2016 06:11 PM, Jeyhun Karimov wrote: > > Hi community, > > > > How can I set parallelisation factor in kafka streams? Is it related with > > the number of partitions within topics? > > > > > > Cheers > > Jeyhun > > > > -- -Cheers Jeyhun --001a1140076cd4a4460536fd7a86--