AndrewJSchofield commented on code in PR #23105:
URL: https://github.com/apache/kafka/pull/23105#discussion_r4219453205
##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSinkTask.java:
##########
@@ -729,9 +731,9 @@ long getNextCommit() {
return nextCommit;
}
- private class HandleRebalance implements ConsumerRebalanceListener {
+ private class HandleRebalance implements RebalanceListener {
@Override
- public void onPartitionsAssigned(Collection<TopicPartition>
partitions) {
+ public void onPartitionsAssigned(Collection<TopicPartition>
partitions, RebalanceConsumer rebalanceConsumer) {
Review Comment:
I would say so. If we had Java 22, I think it would be appropriate to use
the `_` for an unused argument.
--
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]