anatasiavela commented on a change in pull request #9526: URL: https://github.com/apache/kafka/pull/9526#discussion_r514508755
########## File path: clients/src/main/java/org/apache/kafka/common/requests/AddOffsetsToTxnRequest.java ########## @@ -57,6 +57,10 @@ public AddOffsetsToTxnRequest(Struct struct, short version) { this.data = new AddOffsetsToTxnRequestData(struct, version); } + public AddOffsetsToTxnRequestData data() { + return data; + } Review comment: Yea I definitely agree with wanting consistency. I'll stick to 1) in the PR. ---------------------------------------------------------------- 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