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 3DB23200C30 for ; Tue, 7 Mar 2017 17:06:58 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C4FF160B68; Tue, 7 Mar 2017 16:06:58 +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 83D77160B5F for ; Tue, 7 Mar 2017 17:06:57 +0100 (CET) Received: (qmail 53750 invoked by uid 500); 7 Mar 2017 16:06:56 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 53739 invoked by uid 99); 7 Mar 2017 16:06:56 -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, 07 Mar 2017 16:06:56 +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 EC4891A08E8 for ; Tue, 7 Mar 2017 16:06:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.022 X-Spam-Level: X-Spam-Status: No, score=-5.022 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id L8NKta5ATagl for ; Tue, 7 Mar 2017 16:06:54 +0000 (UTC) Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BDCE25FBE2 for ; Tue, 7 Mar 2017 16:06:53 +0000 (UTC) Received: from zmail22.collab.prod.int.phx2.redhat.com (zmail22.collab.prod.int.phx2.redhat.com [10.5.83.26]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v27G6lWG000969 for ; Tue, 7 Mar 2017 11:06:47 -0500 Date: Tue, 7 Mar 2017 11:06:47 -0500 (EST) From: Justin Bertram To: dev@activemq.apache.org Message-ID: <344078427.43183960.1488902807405.JavaMail.zimbra@redhat.com> In-Reply-To: References: <1940993549.29726357.1486766728347.JavaMail.zimbra@redhat.com> Subject: Re: [DISCUSS] ActiveMQ Artemis 2.x stream MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.10.123.7] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - GC56 (Linux)/8.0.6_GA_5922) Thread-Topic: ActiveMQ Artemis 2.x stream Thread-Index: 1ZSEpNT5s7OFgQzi3i/oIPeOG3//yA== archived-at: Tue, 07 Mar 2017 16:06:58 -0000 > 10 I would suggest something more akin to what was implemented for byte fields= (i.e. support notation like "KB", "M", "gb", etc.). For example: 10m or 30s And default to whatever time-unit is used now. Justin ----- Original Message ----- From: "Jiri Danek" To: dev@activemq.apache.org Sent: Tuesday, March 7, 2017 10:01:13 AM Subject: Re: [DISCUSS] ActiveMQ Artemis 2.x stream On Tue, Mar 7, 2017 at 4:23 PM, Martyn Taylor wrote: > Hi Jiri, > > Thanks for bringing this up again. > > One approach to this that avoids having to add new settings or change the > default values of current config would be to add a unit parameter to the > configuration element. For example > > > 10 > > This is just an example, but we could standardise across all configuraito= n > options by just passing in "unit". > > This way users are free to express units that they are familiar with > (msg/s) for example is a typical measurement, however, it could be messag= es > per minute or what ever you want. > > Does this sound reasonable? > Hi, yes, that would resolve the usecase I had in mind in such a way that current configuration files stay compatible. Sorry for derailing the 2.x stream thread. I am looking forward to that release soonest. Best of wishes, > > Cheers > > On Tue, Mar 7, 2017 at 2:12 PM, Jiri Danek wrote: > > > I somehow buried this thread, sorry... > > > > On Fri, Feb 10, 2017 at 11:54 PM, Clebert Suconic < > > clebert.suconic@gmail.com > > > wrote: > > > > > you're right.. I was just trying to understand Jiri's comment, and no= t > > > actually make an evaluation on the feature. > > > > > > > When I wrote the comment, I was confused about the units. I somehow > thought > > that both and we= re > > meant to be in minutes, but by some mistake it got coded in seconds and > > then it was not possible to change it because of backwards > compatibility. I > > thought that 2.0.0 release could be a good point to make it right. > > > > In fact, I think that should be in minutes, > > because if it is in seconds, the lowest message rate that it is possibl= e > to > > specify is 1 msg/s. I imagine it may be too high for some users who sen= d > > very large messages or messages where processing of each takes a very > long > > time. Minutes as a unit would increase the range of possible values. > > > > I'll think more about this and either start a new thread, or wait for > Miro > > to start it (in case he feels the need to discuss the slow consumers > > feature in relation to the Jira he opened), or just leave it be. > > -- > > Ji=C5=99=C3=AD Dan=C4=9Bk > > Messaging QA > > > --=20 Ji=C5=99=C3=AD Dan=C4=9Bk Messaging QA