alanlau28 commented on code in PR #23965:
URL: https://github.com/apache/kafka/pull/23965#discussion_r4459329373


##########
transaction-coordinator/src/main/java/org/apache/kafka/coordinator/transaction/RPCProducerIdManager.java:
##########
@@ -136,7 +139,7 @@ protected void sendRequest() {
         var message = new AllocateProducerIdsRequestData()
                 .setBrokerEpoch(brokerEpochSupplier.get())
                 .setBrokerId(brokerId);
-        var request = new AllocateProducerIdsRequest.Builder(message);
+        var request = new AllocateProducerIdsRequest.Builder(message, 
requestHeaderVersion.get());

Review Comment:
   since there's no helper class like there is for the share group state 
request header, the same fallback is implemented in `BrokerServer`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to