Parameter | Required | Default value | Description |
upsert.writer.max-retries | No | 3 | The maximum number of retries for writing data to a bucket in an Upsert Writer session. |
upsert.writer.buffer-size | No | 64 m | The buffer size of an Upsert Writer session in Flink. Note When the total buffer size of all buckets reaches the specified threshold, the system automatically updates data to the server. Data in an Upsert Writer session can be written to multiple buckets at the same time. We recommend that you increase the value of this parameter to improve write efficiency. If data is written to a large number of partitions, an OOM error may occur. To prevent this issue, you can decrease the value of this parameter.
|
upsert.writer.bucket.buffer-size | No | 1 m | The buffer size of a single bucket in Flink. If the memory resources of the Flink server are insufficient, you can decrease the value of this parameter. |
upsert.write.bucket.num | Yes | No default value | The number of buckets for the table to which data is written. The value of this parameter must be the same as the value of the write.bucket.num parameter that is configured for the table to which data is written. |
upsert.write.slot-num | No | 1 | The number of Tunnel slots used in a session. |
upsert.commit.max-retries | No | 3 | The maximum number of retries for an upsert session commit. |
upsert.commit.thread-num | No | 16 | The degree of parallelism of upsert session commits. We recommend that you do not increase the value of this parameter to a large value. If excessive upsert session commits are performed at the same time, resource consumption increases. This may cause performance issues or excessive resource consumption. |
upsert.major-compact.min-commits | No | 100 | The minimum number of times that major compaction is committed. |
upsert.commit.timeout | No | 600 | The timeout period for an upsert session commit. Unit: seconds. |
upsert.major-compact.enable | No | false | Specifies whether to enable major compaction. |
upsert.flush.concurrent | No | 2 | The maximum number of buckets to which data in a partition can be written at the same time. Note A Tunnel slot is occupied each time data in a bucket is refreshed. |