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

minor update & fix some typos

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • 0.5.0
    • None

    Description

      1.  minor update
      change ProducerHeartbeatTask#run
        ```
          if (response.getTopicInfosList().isEmpty()) {
              if (System.currentTimeMillis() - lastEmptyTopicPrintTIme > 60000)

      { logger.warn("[Heartbeat Update] found empty topicList update!");               lastEmptyTopicPrintTIme = System.currentTimeMillis();       }

          }
        ```
        to 
       ```
          if (response.getTopicInfosList().isEmpty() &&
                  System.currentTimeMillis() - lastEmptyTopicPrintTime > 60000)

      {             logger.warn("[Heartbeat Update] found empty topicList update!");             lastEmptyTopicPrintTime = System.currentTimeMillis();       }

        ```   

      2. fix some typos 
         ```
          lastEmptyBrokerPrintTIme -> lastEmptyBrokerPrintTime

          lastEmptyTopicPrintTIme  ->  lastEmptyTopicPrintTime

          chaneged  -> changed

         ```

       

      Attachments

        Activity

          People

            technoboy Guo Jiwei
            technoboy Guo Jiwei
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 40m
                40m