ouyangwulin created FLINK-38157:
-----------------------------------
Summary: Postgres cdc pipeline supported @experimental options
like mysql pipeline
Key: FLINK-38157
URL: https://issues.apache.org/jira/browse/FLINK-38157
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Affects Versions: cdc-3.5.0
Reporter: ouyangwulin
@Experimental
public static final ConfigOption INCLUDE_COMMENTS_ENABLED =
ConfigOptions.key("include-comments.enabled")
.booleanType()
.defaultValue(false)
.withDescription(
"Whether enable include table and column comments, by default is false, if set
to true, table and column comments will be sent. "
+ "Note: Enable this option will bring the implications on memory usage.");
@Experimental
public static final ConfigOption<Boolean> TREAT_TINYINT1_AS_BOOLEAN_ENABLED =
ConfigOptions.key("treat-tinyint1-as-boolean.enabled")
.booleanType()
.defaultValue(true)
.withDescription("Whether treat TINYINT(1) as boolean, by
default is true. ");
@Experimental
public static final ConfigOption<Boolean> USE_LEGACY_JSON_FORMAT =
ConfigOptions.key("use.legacy.json.format")
.booleanType()
.defaultValue(true)
.withDescription(
"Whether to use legacy json format. The default value
is true, which means there is no whitespace before value and after comma in
json format.");
@Experimental
public static final ConfigOption<Boolean>
SCAN_INCREMENTAL_SNAPSHOT_UNBOUNDED_CHUNK_FIRST_ENABLED =
ConfigOptions.key("scan.incremental.snapshot.unbounded-chunk-first.enabled")
.booleanType()
.defaultValue(false)
.withDescription(
"Whether to assign the unbounded chunks first during
snapshot reading phase. This might help reduce the risk of the TaskManager
experiencing an out-of-memory (OOM) error when taking a snapshot of the largest
unbounded chunk. Defaults to false.");
--
This message was sent by Atlassian Jira
(v8.20.10#820010)