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?