public static OptionRule getEnvOptionRules() {
        return OptionRule.builder()
                .required(EnvCommonOptions.JOB_MODE)
                .optional(
                        EnvCommonOptions.JOB_NAME,
                        CommonOptions.PARALLELISM,
                        EnvCommonOptions.JARS,
                        EnvCommonOptions.CHECKPOINT_INTERVAL,
                        EnvCommonOptions.CHECKPOINT_TIMEOUT,
                        EnvCommonOptions.READ_LIMIT_ROW_PER_SECOND,
                        EnvCommonOptions.READ_LIMIT_BYTES_PER_SECOND,
                        EnvCommonOptions.SAVEMODE_EXECUTE_LOCATION,
                        EnvCommonOptions.CUSTOM_PARAMETERS)
                .build();
    }
@Test
    public void testGetEnvOptionRules() throws Exception {
        OptionRule envOptionRules = EnvOptionRule.getEnvOptionRules();
        Assertions.assertNotNull(envOptionRules);
    }