接口 JobAutoScaler

    • 方法详细资料

      • scale

        boolean scale​(FlinkResourceContext<?> ctx)
        Called as part of the reconciliation loop. Returns true if this call led to scaling.
      • cleanup

        void cleanup​(FlinkResourceContext<?> ctx)
        Called when the custom resource is deleted.
      • getParallelismOverrides

        java.util.Map<java.lang.String,​java.lang.String> getParallelismOverrides​(FlinkResourceContext<?> ctx)
        Get the current parallelism overrides for the job.