kumarpritam863 commented on code in PR #12372: URL: https://github.com/apache/iceberg/pull/12372#discussion_r1985495529
########## kafka-connect/kafka-connect/src/main/java/org/apache/iceberg/connect/CommitterFactory.java: ########## @@ -18,11 +18,13 @@ */ package org.apache.iceberg.connect; +import org.apache.iceberg.catalog.Catalog; import org.apache.iceberg.connect.channel.CommitterImpl; +import org.apache.kafka.connect.sink.SinkTaskContext; class CommitterFactory { - static Committer createCommitter(IcebergSinkConfig config) { - return new CommitterImpl(); + static Committer createCommitter(Catalog catalog, IcebergSinkConfig config, SinkTaskContext context) { Review Comment: What I was thinking was like in future we can change the Start signature to have only (Collection<TopicPartition>) in later releases. As assignment of these variable is not dependent on the opening or closing of the partitions but starting and stopping of the task. Please let me know your thoughts on this. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org