ijuma commented on a change in pull request #7409: URL: https://github.com/apache/kafka/pull/7409#discussion_r536202421
########## File path: clients/src/main/java/org/apache/kafka/common/protocol/SendBuilder.java ########## @@ -209,16 +210,13 @@ public static Send buildResponseSend( private static Send buildSend( String destination, - ApiMessage header, + Message header, short headerVersion, - ApiMessage apiMessage, + Message apiMessage, short apiVersion ) { ObjectSerializationCache serializationCache = new ObjectSerializationCache(); Review comment: Maybe we can file a JIRA and investigate this separately. Not clear what would be the optimal size. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org