Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9937B181AD for ; Thu, 3 Mar 2016 19:37:29 +0000 (UTC) Received: (qmail 65294 invoked by uid 500); 3 Mar 2016 19:37:29 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 65228 invoked by uid 500); 3 Mar 2016 19:37:29 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 65216 invoked by uid 99); 3 Mar 2016 19:37:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 19:37:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C23FDC00ED for ; Thu, 3 Mar 2016 19:37:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.298 X-Spam-Level: * X-Spam-Status: No, score=1.298 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 3roPA_zInaKR for ; Thu, 3 Mar 2016 19:37:26 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 74DFC5F3F4 for ; Thu, 3 Mar 2016 19:37:25 +0000 (UTC) Received: by mail-qg0-f43.google.com with SMTP id w104so25826313qge.1 for ; Thu, 03 Mar 2016 11:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=rBYMnc5ZUfH/BCjdKlOjs4czDFhBBDwnU7+hPTWictg=; b=roloTjcbIpTFc5iBaDbIV2hTz7xVA6kWsl+p5qXflmaZ/amFi/WSNaxndIh+Umsf5p NWp9rug3Y9aTQEVAxb1lTBGLdJJQEQnV1XQ9xpgPPmN+f+wvJmrk3XrqNreOI1LwII4E ZRzWLsZsONBViMGuKPW7+66E7GVLH6nRV3pU8D18m/5yKPXWGNy8uzDaH4KMKuQQ6Bnh riA5OLPV9S8BrV/H4NLTZQaf1eNueYTt7W8+ewwVHHogOSF2eX7lCDkYoJF8Ov/TMMiq pXptKAi6lP3oj17RBmDYGNEn7emU94h5FgXhfbJ548rQ8I13fgkn9aGqwu0hyl+8CMKR gdXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=rBYMnc5ZUfH/BCjdKlOjs4czDFhBBDwnU7+hPTWictg=; b=mMq24Zy1e9ti7W9R6r5JDJq3pvIboMdwy0ScjvvrX78gxJo/EIx0+y24lwpw5zVlZ+ yCuD7gehzWf4K6Mcm2dHwaer3xLjQALj9ywczNkVGQk093r7jaCRDjIi5wsyTdi8042S 5WehC35sipfQsAgbUuInZR9wXCbJI6y8YIGm1dXWC/RS+h6di0FLAIQSugkQTZNtmOLt L/cMX0w59aGYlGo9Y1DLz+ERBV5Xz9m0muxvlfzDnOPWt2PAO2SD1Q1G7nP35+GGB5pB ML8UVvGnqYkFq+7GubYYNR+Zpspn4OnnF3weVtV3r+TFsubactkSTNvR/MaExCd5CS1g Sulg== X-Gm-Message-State: AD7BkJKEnNGU8/aFKNOFl3WnOXas9mGq1iXvMSe3aaVI4cfgAYdT1RvvRPhFxOmHxVAtwh61Vns9QTZsSOMiAQ7l MIME-Version: 1.0 X-Received: by 10.140.42.137 with SMTP id c9mr5437161qga.5.1457033837944; Thu, 03 Mar 2016 11:37:17 -0800 (PST) Received: by 10.233.216.4 with HTTP; Thu, 3 Mar 2016 11:37:17 -0800 (PST) Received: by 10.233.216.4 with HTTP; Thu, 3 Mar 2016 11:37:17 -0800 (PST) In-Reply-To: References: Date: Fri, 4 Mar 2016 01:07:17 +0530 Message-ID: Subject: Re: Adding modules in Malhar From: Chinmay Kolhatkar To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113a24d2566150052d2a20d5 --001a113a24d2566150052d2a20d5 Content-Type: text/plain; charset=UTF-8 +1 for 1a. On 4 Mar 2016 12:26 a.m., "Thomas Weise" wrote: > +1 for 1a (same package with operators). > > Furthermore, there has been already a discussion on how we over time want > to break up contrib, and the Kafka operator is an existing example. > > Thomas > > On Thu, Mar 3, 2016 at 9:01 AM, Amol Kekre wrote: > > > IMHO the choice is between packages being "functional" or "java > construct" > > based? Do users look for functionality or java constructs? My view is > that > > users will overwhelmingly look for functionality. The search will be "How > > do I do ...". If so the organization should be functional. The case > where a > > module has both input and output operators may in most cases > automatically > > land up in different functional bucket (aka package). That translates to > > 1a. > > > > With regards to contrib, similar flow should work, but it may have issues > > due to cross dependencies, license and may need hybrid model. > > > > Thks > > Amol > > > > On Thu, Mar 3, 2016 at 8:54 AM, Sandesh Hegde > > wrote: > > > > > 1. 1.b Modules in the separate package. > > > > > > Reasons: > > > - It makes it for us to educate app developers, by saying > > > "Start with modules then operators and then custom > > > operators" > > > - Modules can contain different operators (say input as well > > as > > > output ) and other modules, so what is the right place for that ? > > > - Reduce the namespace bloating > > > > > > 2. Hybrid of 2-a and 2-b. > > > > > > > > > On Thu, Mar 3, 2016 at 5:11 AM Priyanka Gugale < > priyanka@datatorrent.com > > > > > > wrote: > > > > > > > Hi, > > > > > > > > Recently we added Modules feature in Apex platform. Using this > feature > > > we > > > > are planning to write few modules (module is set of operators > connected > > > > together to achieve unit of work). We would like to submit them to > > > Malhar. > > > > My question is what would be the appropriate place to add these > > modules. > > > > Following are the options we are considering: > > > > > > > > 1. Malhar-library: If module code is not dependent on third part > > > libraries, > > > > we can put the module in Malhar-library. Under Malhar library we can > > put > > > > them in > > > > a) same package as relevant operators > > > > b) a different package, where package name indicates it's a > module. > > > > > > > > 2. Malhar-contrib: When module depends on third party libraries, we > can > > > put > > > > them in contrib. Now in contrib, do we want to > > > > a) add each module as indipendent project? > > > > b) add module in some packages? > > > > > > > > > > > > I would prefer to got with 1-a and hybird of 2-a and 2-b. i.e. if > > > external > > > > source versions etc changes frequently we can use 2-a. If external > > > library > > > > version doesn't change frequently and is commonly used module we can > go > > > > with 2-b. > > > > > > > > Please share your opinion. > > > > > > > > -Priyanka > > > > > > > > > > --001a113a24d2566150052d2a20d5--