leonardBang commented on code in PR #3128: URL: https://github.com/apache/flink-cdc/pull/3128#discussion_r1567483688
########## flink-cdc-common/src/main/java/org/apache/flink/cdc/common/pipeline/PipelineOptions.java: ########## @@ -85,5 +89,12 @@ public class PipelineOptions { .withDescription( "The unique ID for schema operator. This ID will be used for inter-operator communications and must be unique across operators."); + public static final ConfigOption<Duration> PIPELINE_SCHEMA_OPERATOR_RPC_TIMEOUT = + ConfigOptions.key("schema-operator.rpc-timeout") + .durationType() + .defaultValue(Duration.ofSeconds(SCHEMA_OPERATOR_RPC_TIMEOUT_SECOND_DEFAULT)) + .withDescription( + "The timeout time for SchemaOperator to wait for schema change. the default value is 3 min."); Review Comment: ```suggestion "The timeout time for SchemaOperator to wait downstream SchemaChangeEvent applying finished, the he default value is 3 minutes."); ``` ########## flink-cdc-common/src/main/java/org/apache/flink/cdc/common/pipeline/PipelineOptions.java: ########## @@ -23,12 +23,16 @@ import org.apache.flink.cdc.common.configuration.description.Description; import org.apache.flink.cdc.common.configuration.description.ListElement; +import java.time.Duration; + import static org.apache.flink.cdc.common.configuration.description.TextElement.text; /** Predefined pipeline configuration options. */ @PublicEvolving public class PipelineOptions { + public static final Integer SCHEMA_OPERATOR_RPC_TIMEOUT_SECOND_DEFAULT = 3 * 60; Review Comment: ```suggestion public static final Duration DEFAULT_SCHEMA_OPERATOR_RPC_TIMEOUT = Duration.ofMinutes(3); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org