mimaison opened a new pull request, #22336: URL: https://github.com/apache/kafka/pull/22336
As far as I can tell, all callers set `onCompleteCallback` to `None` in the `SendResponse` constructor, so the callback is never set. So let's remove it. I stumble on that while working on https://issues.apache.org/jira/browse/KAFKA-20451. I figured it made more sense to first remove that while the logic is in Scala, and then I'll open a PR for KAFKA-20451 so it's a clean translation. -- 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]
