gosonzhang commented on code in PR #5801: URL: https://github.com/apache/inlong/pull/5801#discussion_r963504668
########## inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManager.java: ########## @@ -144,9 +144,10 @@ public ConsumerEvent removeFirst(String consumerId) { } } if (event != null) { - StringBuilder sBuilder = new StringBuilder(512); - sBuilder.append("[Event Removed] "); - logger.info(event.toStrBuilder(sBuilder).toString()); + logger.info(new StringBuilder(512) Review Comment: This is deliberately handled in this way, using StringBuilder to do the processing of log output content -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org