junrao commented on code in PR #14860: URL: https://github.com/apache/kafka/pull/14860#discussion_r1413208491
########## clients/src/main/java/org/apache/kafka/common/requests/BrokerRegistrationRequest.java: ########## @@ -45,10 +45,6 @@ public short oldestAllowedVersion() { @Override public BrokerRegistrationRequest build(short version) { - if (version < 2) { - // Reset the PreviousBrokerEpoch to default if not supported. - data.setPreviousBrokerEpoch(new BrokerRegistrationRequestData().previousBrokerEpoch()); - } Review Comment: It seems that this is being tracked in https://github.com/apache/kafka/pull/14887. -- 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