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 0039B200D3E for ; Thu, 16 Nov 2017 13:24:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F2ED5160BE5; Thu, 16 Nov 2017 12:24:48 +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 1C229160BE6 for ; Thu, 16 Nov 2017 13:24:47 +0100 (CET) Received: (qmail 39736 invoked by uid 500); 16 Nov 2017 12:24:47 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 39724 invoked by uid 99); 16 Nov 2017 12:24:46 -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; Thu, 16 Nov 2017 12:24:46 +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 29674180791 for ; Thu, 16 Nov 2017 12:24:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.879 X-Spam-Level: X-Spam-Status: No, score=0.879 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] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IOJM1AO89e-7 for ; Thu, 16 Nov 2017 12:24:43 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 16FE35FDD1 for ; Thu, 16 Nov 2017 12:24:43 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id k66so17890474lfg.3 for ; Thu, 16 Nov 2017 04:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=IDHRGlAaEjypT0vkgISvR6ZM8jGUGfjdsDMCwiLN/h0=; b=Jv6sK//3oZWWE/xWHZj+6j8nVvz1bfuZmPwYcGY0xz005nO2dAFjjSTrDrnkKaf9+H IxO9RX75ZDZ5gi/KIdkJHpsY2Fz9/EarC1nXblB+QTbEgpKh26BoQUoW8BYRdqRpkYl8 5IapiXrmp/+dRCb0+Yrow3z7TAl5r42m2+rrnW5UqHFKIiyzBWL6ItzFCVvOrFiXlEc6 lwOop5/V4Gl/T48puIax0X+koSwHYxvE4ky5AKiy7LK7oxYXuPrFxuBObwaoH8r/h0H5 nwPdl/upRqebMqIxeKAxOhQ/CgJ9EmSkNzPcsXEiO7WEGb6pnXsnGiRiIkuZLzhMMdpM xjXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IDHRGlAaEjypT0vkgISvR6ZM8jGUGfjdsDMCwiLN/h0=; b=aRErqwSZuYCDR/JU3BChqMEBuNdlM4U25XAfC5y1/eUalgbxoSJj4Bww0qg8eWCo3l axPgEyeSauokevRZGMgALx7SQ6OqdsNgPyixrKE3Wz5nqzIyFed+f956Uvmm03rLFSUL FpFzflWI/oKiDX2R1ukP5qYNlaKszbbGg8+JJGssk9IIwCJhWXS2N33zMdBeoQF22bby fynkLkhHfyXFuPzpxSUHLVPw5RoazV/jiYAkeKkCImlv4lEeGELVjqSNDMdY+Rvoi+D7 GxEEQabt+SnhDnO2hADxcKt9Oh2k2KI+dnUBJ6drRWd4z+0kHnRlpw3AvRAB8vI1s984 Xy0A== X-Gm-Message-State: AJaThX4K2TZpP5Ns4Sg+U27J25ln78+ERqRARxbQugbAvTDUT0jUfpGu HLPOMYk4me4zB62pV/rGW5DLL9ec X-Google-Smtp-Source: AGs4zMb93g1BpSxg6P8kkl3JRBXGfj2HJ9GYnQaHOfQDpP9UdwSxjIx+kYuwa9wo9QTGQZ31pphx4g== X-Received: by 10.25.154.15 with SMTP id c15mr589067lfe.165.1510835082113; Thu, 16 Nov 2017 04:24:42 -0800 (PST) Received: from [10.36.226.98] ([80.169.137.53]) by smtp.googlemail.com with ESMTPSA id s16sm246210ljd.77.2017.11.16.04.24.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 04:24:41 -0800 (PST) Subject: Re: Remove obsolete RxJava code and keep RxJava2 only one To: Andriy Redko , dev@cxf.apache.org References: <8610446555.20171115185301@gmail.com> <0d537fcc-218d-44df-84dc-4f3aba814407@gmail.com> <891111921.20171116064545@gmail.com> <567682805.20171116070239@gmail.com> From: Sergey Beryozkin Message-ID: <4265c0c2-f5ce-11ef-ebba-c38de4780664@gmail.com> Date: Thu, 16 Nov 2017 12:24:40 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <567682805.20171116070239@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit archived-at: Thu, 16 Nov 2017 12:24:49 -0000 It's obviously not only my decision what to do with this code, you are right it's only my opinion (which will stay non-binding) which is to keep where it is now just in case and drop it once the new master opens. To be honest, it does not matter much to me :-), so if few more PMCs say yes, def has to be a new module - then I'll give my +1 and move on, as I said purely from a tech point of view a dedicated module without optional deps is better. I'm simply hesitating, given how much effort went into dropping some old modules from 3.2.x, to start with another module with precisely 4 files (3 in .client subpackage, 1 in .server) with us (me definitely) unlikely contributing to it at this stage. I'd rather spend the limited amount of time I have now on growing the small (but with the prospect of growth) reactivestreams lib we've discussed with John which can be used by RxJava2 and Reactor code... Cheers, Sergey On 16/11/17 12:02, Andriy Redko wrote: > Fair enough, if we the new module is not a option (in your opinion), > I would vote to remove the RxJava 1.x integration and dependency. > > SB> As I said, as far as CXF is concerned, there's no prospect of RxJava > SB> related code growing, and contributing to a CXF module noise to support > SB> a legacy library (I know I have to be careful now about the wording:-), > SB> I'm meaning here RxJava2 embracing org.ractivestreams) is not worth it IMHO. > > SB> If you check my earlier reply, I suggested to keep it where it is now > SB> after all. So if we have some users somewhere deciding to stay with > SB> RxJava then they'd have the support they need. > > SB> Cheers, SErgey > SB> On 16/11/17 11:45, Andriy Redko wrote: >>> Got it, so "legacy" part is questionable here. Check out the releases page, >>> https://github.com/ReactiveX/RxJava/releases, the 1.x is still being >>> actively >>> supported and maintained (and there are reasons for that, as I >>> mentioned). So >>> it is really up to us to decide, should we support it or not, but with >>> the new >>> module we could get the stats and make the decision not based on >>> "legacy" but >>> if it is used or not. I don't have particular attachments to RxJava 1.x so >>> if you are confident no one is relying on this integration, I would >>> agree with >>> you and we should better remove this code. >>> >>> *SB> The problem is not about a new module, but about RxJava is a legacy >>> lib, >>> SB> and having a module with 2/3 files with no prospect of going beyond >>> this >>> SB> number is not worth it IMHO >>> >>> SB> Sergey >>> >>> SB> On 16/11/17 11:15, Andrey Redko wrote: >>>>> Hey Sergey, >>> >>>>> I think the "ideal" in this case depends on whom to ask. For us - yet >>>>> another module to support, for users - out of the box integration. With new >>>>> module we could collect a bit more insights if people use it or not. No use >>>>> - drop in next releases. Thanks. >>> >>>>> Best Regards, >>>>>      Andriy Redko >>> >>>>> On Nov 16, 2017 4:42 AM, "Sergey Beryozkin" <*sberyozkin@gmail.com *> wrote: >>> >>>>>> Hi Andriy >>> >>>>>> As I said, introducing a dedicated support for a legacy library in the >>>>>> form of a new module would not be ideal IMHO >>> >>>>>> Cheers, Sergey >>>>>> On 15/11/17 23:53, Andriy Redko wrote: >>> >>>>>>> Hey Sergey, >>> >>>>>>> That would be ideal I think (move RxJava into separate module). RxJava2 >>>>>>> and >>>>>>> RxJava are quite different frameworks, some people just stuck with RxJava >>>>>>> so >>>>>>> we could support them there. Thanks. >>> >>>>>>> Best Regards, >>>>>>>       Andriy Redko >>> >>>>>>> JDA> What about just leaving the old RxJava code in a module by itself >>>>>>> (when I >>>>>>> JDA> was looking recently, it didn't make much sense to see both RxJava >>>>>>> and >>>>>>> JDA> RxJava2 in one module). >>> >>>>>>> JDA> On Wed, Nov 15, 2017 at 10:56 AM Sergey Beryozkin < >>> *>>>> sberyozkin@gmail.com *> >>>>>>> JDA> wrote: >>> >>>>>>> Hi >>> >>> >>>>>>> cxf-rt-rs-extension-rx ships the code for both (old) RxJava and RxJava2 >>>>>>>>> code. It supports returning RxJava2 Flowable and Observable on the >>>>>>>>> server and accepting it on the client, and the same for the (old) RxJava >>>>>>>>> Observable... >>> >>> >>>>>>> While even the (old) RxJava code is very new for CXF, the reality is >>>>>>>>> that RxJava has been around for a while now and with RxJava2 embracing >>>>>>>>> org.reactivestreams, it's hard to see CXF users preferring to start with >>>>>>>>> the (old) RxJava. >>> >>> >>>>>>> The other minor problem is that cxf-rt-rs-extension-rx has optional >>>>>>>>> RxJava and RxJava2 deps to be able to ship the relevant code in the same >>>>>>>>> module and splitting it into 2 modules will be too much at this point. >>> >>> >>>>>>> I suggest that unless some users confirm (I CC to the users) that they >>>>>>>>> need to use the (old) RxJava code, then we just remove it and make >>>>>>>>> things much simpler... >>> >>> >>>>>>> Thanks, Sergey >>> >>> >>> >>> >>> >>> >>> * >