• Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: Sink
    • None

      I found the following logging issues:

      1. premature toString() invocation
        LOGGER.debug(record.toString());
        
      2. string concatenation
        LOGGER.debug("key: " + keyDoc.toString());
        

      which may cause performance issues in high-load applications.

      In particular, I encountered unnecessary pressure on GC due to the premature toString() invocation.

            Assignee:
            maxim.katcharov@mongodb.com Maxim Katcharov
            Reporter:
            andrey.pustovetov@gmail.com Andrey Pustovetov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: