You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guocheng Zhang (Jira)" <ji...@apache.org> on 2020/12/09 11:19:00 UTC

[jira] [Assigned] (TUBEMQ-446) Small bugs fix that do not affect the main body

     [ https://issues.apache.org/jira/browse/TUBEMQ-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guocheng Zhang reassigned TUBEMQ-446:
-------------------------------------

    Assignee: Guocheng Zhang

> Small bugs fix that do not affect the main body
> -----------------------------------------------
>
>                 Key: TUBEMQ-446
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-446
>             Project: Apache TubeMQ
>          Issue Type: Bug
>            Reporter: Guocheng Zhang
>            Assignee: Guocheng Zhang
>            Priority: Major
>         Attachments: image-2020-12-09-18-53-02-498.png, image-2020-12-09-18-53-55-711.png
>
>
> Found some small bugs
> 1. AddressUtils.getIPV4LocalAddress() should first check whether localIPAddress has been set, and use it directly under the premise that it has been set to reduce unnecessary get operations, locate: [https://github.com/apache/incubator-tubemq/blob/master/tubemq-core/src/main/java/org/apache/tubemq/corebase/utils/AddressUtils.java#L146]
> !image-2020-12-09-18-53-02-498.png!
> 2. The fetchCount parameter in MessageConsumerExample may be negative, so the executorService object should not use fetchCount as the initial value, locate:[https://github.com/apache/incubator-tubemq/blob/master/tubemq-example/src/main/java/org/apache/tubemq/example/MessageConsumerExample.java#L99]
> !image-2020-12-09-18-53-55-711.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)