philipnee commented on code in PR #14364: URL: https://github.com/apache/kafka/pull/14364#discussion_r1345951445
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/ErrorBackgroundEvent.java: ########## @@ -16,13 +16,21 @@ */ package org.apache.kafka.clients.consumer.internals.events; +import java.util.Optional; + public class ErrorBackgroundEvent extends BackgroundEvent { private final Throwable error; + private final Optional<String> message; public ErrorBackgroundEvent(Throwable error) { + this(error, null); + } + + public ErrorBackgroundEvent(Throwable error, String message) { Review Comment: Pretty sure I reverted in the previous commit....hmm -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org