Skip to content

Commit d995e03

Browse files
committed
reformat doc
1 parent 4d9feea commit d995e03

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

fluss-common/src/main/java/com/alibaba/fluss/config/ConfigOptions.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -965,21 +965,22 @@ public class ConfigOptions {
965965
.defaultValue(2)
966966
.withDescription(
967967
"The number of partitions to pre-create for auto created partitions in each check for auto partition. "
968-
+ "The default value is 2, which means 2 partitions will be pre-created. If the 'table.auto-partition.time-unit' is 'DAY'(default), one precreated partition is for today and another one is for tomorrow. "
969968
+ "For example, if the current check time is 2024-11-11 and the value is "
970969
+ "configured as 3, then partitions 20241111, 20241112, 20241113 will be pre-created. "
971-
+ "If any one partition exists, it'll skip creating the partition.");
970+
+ "If any one partition exists, it'll skip creating the partition. "
971+
+ "The default value is 2, which means 2 partitions will be pre-created. "
972+
+ "If the 'table.auto-partition.time-unit' is 'DAY'(default), one precreated partition is for today and another one is for tomorrow.");
972973

973974
public static final ConfigOption<Integer> TABLE_AUTO_PARTITION_NUM_RETENTION =
974975
key("table.auto-partition.num-retention")
975976
.intType()
976977
.defaultValue(7)
977978
.withDescription(
978979
"The number of history partitions to retain for auto created partitions in each check for auto partition. "
979-
+ "The default value is 7, which means that 7 partitions will be retained. "
980980
+ "For example, if the current check time is 2024-11-11, time-unit is DAY, and the value is "
981981
+ "configured as 3, then the history partitions 20241108, 20241109, 20241110 will be retained. "
982-
+ "The partitions earlier than 20241108 will be deleted.");
982+
+ "The partitions earlier than 20241108 will be deleted. "
983+
+ "The default value is 7.");
983984

984985
public static final ConfigOption<Duration> TABLE_LOG_TTL =
985986
key("table.log.ttl")

0 commit comments

Comments
 (0)