Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-446

Small bugs fix that do not affect the main logics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None

    Description

      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

      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

       

      3. Remove the useless parameter WITHOUTDELAY:

       

      Attachments

        1. image-2020-12-09-20-04-14-698.png
          29 kB
          Guocheng Zhang
        2. image-2020-12-09-18-53-55-711.png
          19 kB
          Guocheng Zhang
        3. image-2020-12-09-18-53-02-498.png
          51 kB
          Guocheng Zhang

        Activity

          People

            gosonzhang Guocheng Zhang
            gosonzhang Guocheng Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h