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

The return type of the function is void,not convenient to use

    XMLWordPrintableJSON

Details

    Description

      @PublicEvolving
      public void setRestartStrategy(
              RestartStrategies.RestartStrategyConfiguration restartStrategyConfiguration) {
          config.setRestartStrategy(restartStrategyConfiguration);
      } 

      StreamExecutionEnvironment usually has many parameters that need to be set.The return type is void, making it inconvenient to use.

      Others set methods 'return this; ' , only this method has a void return type.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhangtao9876 ZhangTao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: