Qinghui Xu created KAFKA-9278: --------------------------------- Summary: Avoid using static instance of DisconnectException Key: KAFKA-9278 URL: https://issues.apache.org/jira/browse/KAFKA-9278 Project: Kafka Issue Type: Bug Reporter: Qinghui Xu
For every `java.lang.Throwable` instance, there is a stacktrace provided during its instantiation. Thus a static instance of DisconnectException contains a stacktrace of the thread creating it, which is irrelevant (and misleading) for all the calls (in other threads) that reuse it. -- This message was sent by Atlassian Jira (v8.3.4#803005)