Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35693

Change variable specificOffsetFile, specificOffsetPos and startupTimestampMillis to Offset in StartupOptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • cdc-3.1.1
    • cdc-3.3.0
    • Flink CDC
    • None

    Description

      Current, StartupOptions use specificOffsetFile, specificOffsetPos and  startupTimestampMillis to describe specific offset or timestamp. However, it's suitable for mysql, rather than postgres's LSN or oracle's RedoLogOffset.

      public final class StartupOptions implements Serializable {
          private static final long serialVersionUID = 1L;
      
          public final StartupMode startupMode;
          public final String specificOffsetFile;
          public final Integer specificOffsetPos;
          public final Long startupTimestampMillis;
      } 

      Now that we have already retract Offset to represent the position of log, why not use offset in StartupOptions?

      Attachments

        Activity

          People

            Unassigned Unassigned
            loserwang1024 Hongshun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: