CalvinConfluent commented on code in PR #17698:
URL: https://github.com/apache/kafka/pull/17698#discussion_r1848949645
##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -1672,6 +1682,11 @@ private
TxnOffsetCommitHandler(TransactionalRequestResult result,
this.builder = builder;
}
+ private TxnOffsetCommitHandler(TxnOffsetCommitRequest.Builder builder)
{
+ super("TxnOffsetCommitHandler");
+ this.builder = builder;
Review Comment:
There are a few other examples in this file
```
private AddPartitionsToTxnHandler(AddPartitionsToTxnRequest.Builder builder)
{
super("AddPartitionsToTxn");
this.builder = builder;
this.retryBackoffMs = TransactionManager.this.retryBackoffMs;
}
private FindCoordinatorHandler(FindCoordinatorRequest.Builder builder) {
super("FindCoordinator");
this.builder = builder;
}
```
--
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]