activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-304) Inconsistent documentation wrt connector buffer size options
Date Mon, 04 Mar 2013 06:59:13 GMT

    [ https://issues.apache.org/jira/browse/APLO-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592036#comment-13592036
] 

Lionel Cons commented on APLO-304:
----------------------------------

In this case, wouldn't be clearer to have only one parameter to tune this single buffer? Otherwise,
we may get bogus configs with the buffer size set in two different places to two different
values...

If the only difference between the two is the auto-tuning, I would prefer an explicit parameter
for it. What about:
 - receive_buffer_size=integer: set the initial size of the receive buffer
 - receive_buffer_auto_tune=boolean: enable/disable auto-tuning
?
                
> Inconsistent documentation wrt connector buffer size options
> ------------------------------------------------------------
>
>                 Key: APLO-304
>                 URL: https://issues.apache.org/jira/browse/APLO-304
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: 99-trunk-SNAPSHOT
>            Reporter: Lionel Cons
>
> The user manual has a "connectors" section describing the receive_buffer_size and send_buffer_size
options:
> http://activemq.apache.org/apollo/versions/99-trunk-SNAPSHOT/website/documentation/user-manual.html#Connectors
> They are described via "A connector element can be configured with the following attributes"
so one would expect to use:
> <connector id="tcp" bind="tcp://0.0.0.0:61613" receive_buffer_size="1024">
> but later in the manual we see:
> <connector id="tcp" bind="tcp://0.0.0.0:61613?receive_buffer_size=1024&amp;max_read_rate=65536"/>
> So, what is the correct way to specify these options: as eponymous attributes? as part
of the bind attribute URL? both?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message