Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19033 Cleanups of DataStream API
  3. FLINK-19084

Remove deprecated methods in ExecutionConfig

    XMLWordPrintableJSON

Details

    • Hide
      Deprecated methods ExecutionConfig#isLatencyTrackingEnabled was removed, you can use ExecutionConfig#getLatencyTrackingInterval instead.

      Deprecated, ineffective for some time methods ExecutionConfig#enable/disableSysoutLogging, ExecutionConfig#set/isFailTaskOnCheckpointError were removed. These methods had no effect, simply remove usages of those.

      Removed '-q' flag from cli. The option had no effect.
      Show
      Deprecated methods ExecutionConfig#isLatencyTrackingEnabled was removed, you can use ExecutionConfig#getLatencyTrackingInterval instead. Deprecated, ineffective for some time methods ExecutionConfig#enable/disableSysoutLogging, ExecutionConfig#set/isFailTaskOnCheckpointError were removed. These methods had no effect, simply remove usages of those. Removed '-q' flag from cli. The option had no effect.

    Description

      We can remove:

      • ExecutionConfig#isLatencyTrackingEnabled (deprecated in 1.7)

      Additionally, we should remove no-ops methods in ExecutionConfig.

      • ExecutionConfig#disable/enableSysoutLogging (deprecated in 1.10)
      • ExecutionConfig#set/isFailTaskOnCheckpointError (deprecated in 1.9)

      They are Public, however they became no-op operations, which can be argued already broke the stability guarantees.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: