There was a previous thread for the Flink source. The Javadoc deprecation note for the old `FlinkSource` currently says it will be removed in Iceberg 2.0 release https://lists.apache.org/thread/27kcvo3p86pysk9wrggq4vphzo03sv3l
Now regarding deprecating and removing the old `FlinkSink` in favor of the new `IcebergSink`, the new `IcebergSink` was added 6 months ago and released in Iceberg 1.7 (current release is 1.8). Not sure how many users have got a chance to use it. Ideally, I would like to have the new `IcebergSink` bake longer with more users running it in the production environments. There is also the parity problems that Rod mentioned. However, if Flink 2.0 release is going to release the old source and sink interfaces, then we will have no choice and remove the old source and sink implementations earlier than we originally planned/preferred. On Thu, Mar 6, 2025 at 8:40 AM Rodrigo Meneses <rmene...@gmail.com> wrote: > Hi Max, +1 on that too. IcebergSink has been hanging around for a while > now. We want to make sure we have the same features, though: > > I’ve got https://github.com/apache/iceberg/pull/12071 that adds the Range > Distribution Mode to IcebergSink. It still needs a few recent bug fixes and > features backported, but it should be ready soon. > > > > On Thu, Mar 6, 2025 at 8:18 AM Jean-Baptiste Onofré <j...@nanthrax.net> > wrote: > >> Hi Max, >> >> I guess you are proposing to remove FlinkSink and the corresponding >> FlinkSource as well. >> >> It makes to me as, I saw in the code, that both FlinkSink and >> FlinkSource are deprecated for a while. >> >> So, +1 to remove it. >> >> Are you planning this for 1.9.0 ? >> >> Regards >> JB >> >> On Thu, Mar 6, 2025 at 4:21 PM Maximilian Michels <m...@apache.org> wrote: >> > >> > Hi, >> > >> > Today there are two Flink write connectors in Iceberg: >> > >> > 1. FlinkSink (original sink, based on Flink legacy interfaces) >> > 2. IcebergSink (newer version, based on modern Flink API) >> > >> > In terms of features, (1) is a subset of (2). >> > >> > I'm in the process of adding support for Flink 2.0. The interfaces >> > used for (1) have been deprecated for several Flink versions and are >> > removed / discouraged in Flink 2.0. >> > >> > Therefore, I would like to propose to remove FlinkSink for the Flink >> > 2.0 Iceberg module. We have already deprecated FlinkSink for a while. >> > >> > Any objections? >> > >> > -Max >> >