mjsax commented on code in PR #17817:
URL: https://github.com/apache/kafka/pull/17817#discussion_r1843031950


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamTask.java:
##########
@@ -883,18 +881,6 @@ public void recordProcessTimeRatioAndBufferSize(final long 
allTaskProcessMs, fin
         processTimeMs = 0L;
     }
 
-    private String getStacktraceString(final Throwable e) {
-        String stacktrace = null;
-        try (final StringWriter stringWriter = new StringWriter();
-             final PrintWriter printWriter = new PrintWriter(stringWriter)) {
-            e.printStackTrace(printWriter);
-            stacktrace = stringWriter.toString();
-        } catch (final IOException ioe) {
-            log.error("Encountered error extracting stacktrace from this 
exception", ioe);
-        }
-        return stacktrace;
-    }
-

Review Comment:
   Unused method. side cleanup. (Sorry, should have called it out.)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to