chia7712 commented on PR #19027: URL: https://github.com/apache/kafka/pull/19027#issuecomment-2683604198
@m1a2st could you please update `Admin` to use the error message? ``` switch (error) { case NONE: future.complete(null); break; case REQUEST_TIMED_OUT: throw error.exception(); // here default: log.error("Unregister broker request for broker ID {} failed: {}", brokerId, error.message()); // here future.completeExceptionally(error.exception()); // here break; } ``` https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L4758 -- 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