Rancho-7 commented on code in PR #19346: URL: https://github.com/apache/kafka/pull/19346#discussion_r2050290126
########## raft/src/main/java/org/apache/kafka/raft/ControlRecord.java: ########## @@ -70,7 +87,10 @@ public ControlRecord(ControlRecordType recordType, ApiMessage message) { default: throw new IllegalArgumentException(String.format("Unknown control record type %s", recordType)); } + return new ControlRecord(recordType, message); Review Comment: Thanks for the suggestion! Done. -- 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