Skip to content

Commit e57dc66

Browse files
committed
update descriptions
1 parent 69545dc commit e57dc66

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

docs-data/property-overrides.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
"config_scope": "cluster"
671671
},
672672
"delete.retention.ms": {
673-
"description": "The retention time for tombstone records in a compacted topic. Redpanda removes tombstone records after the retention limit is exceeded.\n\nIf you have enabled Tiered Storage and set <<redpandaremoteread,`redpanda.remote.read`>> or <<redpandaremotewrite,`redpanda.remote.write`>> for the topic, you cannot enable tombstone removal.\n\nIf both `delete.retention.ms` and the cluster property config_ref:tombstone_retention_ms,true,properties/cluster-properties[] are set, `delete.retention.ms` overrides the cluster level tombstone retention for an individual topic.\n\nThis property supports three states:\n\n* Positive value: Sets the milliseconds to retain tombstone records before removal.\n* 0: Tombstone records are immediately eligible for removal.\n* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#tombstone_retention_ms[`tombstone_retention_ms`].",
673+
"description": "The retention time for tombstone records in a compacted topic. Redpanda removes tombstone records after the retention limit is exceeded.\n\nIf you have enabled Tiered Storage and set <<redpandaremoteread,`redpanda.remote.read`>> or <<redpandaremotewrite,`redpanda.remote.write`>> for the topic, you cannot enable tombstone removal.\n\nIf both `delete.retention.ms` and the cluster property config_ref:tombstone_retention_ms,true,properties/cluster-properties[] are set, `delete.retention.ms` overrides the cluster level tombstone retention for an individual topic.\n\nThis property supports three states:\n\n* Positive value: Sets the milliseconds to retain tombstone records before removal.\n* 0: Tombstone records are immediately eligible for removal.\n* Negative value: Disables tombstone removal entirely for this topic.",
674674
"related_topics": [
675675
"xref:reference:properties/cluster-properties.adoc#tombstone_retention_ms[`tombstone_retention_ms`]",
676676
"xref:manage:cluster-maintenance/compaction-settings.adoc#tombstone-record-removal[Tombstone record removal]"
@@ -1316,7 +1316,7 @@
13161316
"config_scope": "cluster"
13171317
},
13181318
"min.cleanable.dirty.ratio": {
1319-
"description": "The minimum ratio between dirty and total bytes in closed segments before a partition's log is eligible for compaction in a compact topic.\n\nThis property supports three states:\n\n* Positive value: Sets the minimum dirty ratio (0.0 to 1.0) required before compaction.\n* 0: Compaction is always eligible regardless of dirty ratio.\n* Negative value: Uses the cluster default from xref:reference:properties/cluster-properties.adoc#min_cleanable_dirty_ratio[`min_cleanable_dirty_ratio`].",
1319+
"description": "The minimum ratio between dirty and total bytes in closed segments before a partition's log is eligible for compaction in a compact topic.\n\nThis property supports three states:\n\n* Positive value: Sets the minimum dirty ratio (0.0 to 1.0) required before compaction.\n* 0: Compaction is always eligible regardless of dirty ratio.\n* Negative value: This property is not considered when deciding if a log is eligible for compaction.",
13201320
"related_topics": [
13211321
"xref:reference:properties/cluster-properties.adoc#min_cleanable_dirty_ratio[`min_cleanable_dirty_ratio`]"
13221322
],
@@ -1685,7 +1685,7 @@
16851685
"config_scope": "topic"
16861686
},
16871687
"retention.bytes": {
1688-
"description": "A size-based retention limit that configures the maximum size that a topic partition can grow before becoming eligible for cleanup.\n\nIf `retention.bytes` is set to a positive value, it overrides the cluster property xref:cluster-properties.adoc#retention_bytes[`retention_bytes`] for the topic, and the total retained size for the topic is `retention.bytes` multiplied by the number of partitions for the topic.\n\nWhen both size-based (`retention.bytes`) and time-based (`retention.ms`) retention limits are set, cleanup occurs when either limit is reached.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum bytes per partition. When exceeded, oldest data becomes eligible for cleanup.\n* 0: Partitions are immediately eligible for cleanup.\n* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_bytes[`retention_bytes`].",
1688+
"description": "A size-based retention limit that configures the maximum size that a topic partition can grow before becoming eligible for cleanup.\n\nIf `retention.bytes` is set to a positive value, it overrides the cluster property xref:cluster-properties.adoc#retention_bytes[`retention_bytes`] for the topic, and the total retained size for the topic is `retention.bytes` multiplied by the number of partitions for the topic.\n\nWhen both size-based (`retention.bytes`) and time-based (`retention.ms`) retention limits are set, cleanup occurs when either limit is reached.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum bytes per partition. When exceeded, oldest data becomes eligible for cleanup.\n* 0: Partitions are immediately eligible for cleanup.\n* Negative value: Disables size-based retention for this topic.",
16891689
"related_topics": [
16901690
"xref:cluster-properties.adoc#retention_bytes[`retention_bytes`]",
16911691
"xref:reference:properties/cluster-properties.adoc#retention_bytes[`retention_bytes`]",
@@ -1694,15 +1694,15 @@
16941694
"config_scope": "topic"
16951695
},
16961696
"retention.local.target.bytes": {
1697-
"description": "A size-based retention limit for Tiered Storage that configures the maximum size that a topic partition in local storage can grow before becoming eligible for cleanup. It applies per partition and is equivalent to <<retentionbytes, `retention.bytes`>> without Tiered Storage.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum bytes per partition in local storage before cleanup.\n* 0: Data in local storage is immediately eligible for cleanup.\n* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_local_target_bytes[`retention_local_target_bytes`].",
1697+
"description": "A size-based retention limit for Tiered Storage that configures the maximum size that a topic partition in local storage can grow before becoming eligible for cleanup. It applies per partition and is equivalent to <<retentionbytes, `retention.bytes`>> without Tiered Storage.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum bytes per partition in local storage before cleanup.\n* 0: Data in local storage is immediately eligible for cleanup.\n* Negative value: Disables size-based local retention override for this topic.",
16981698
"related_topics": [
16991699
"xref:reference:properties/cluster-properties.adoc#retention_local_target_bytes[`retention_local_target_bytes`]",
17001700
"xref:manage:tiered-storage.adoc[Tiered Storage]"
17011701
],
17021702
"config_scope": "topic"
17031703
},
17041704
"retention.local.target.ms": {
1705-
"description": "A time-based retention limit for Tiered Storage that sets the maximum duration that a log's segment file for a topic is retained in local storage before cleanup.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds to retain data in local storage.\n* 0: Data in local storage is immediately eligible for cleanup.\n* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_local_target_ms_default[`retention_local_target_ms_default`].",
1705+
"description": "A time-based retention limit for Tiered Storage that sets the maximum duration that a log's segment file for a topic is retained in local storage before cleanup. It applies per partition and is equivalent to <<retentionms, `retention.ms`>> without Tiered Storage.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds to retain data in local storage.\n* 0: Data in local storage is immediately eligible for cleanup.\n* Negative value: Disables time-based local retention override for this topic.",
17061706
"related_topics": [
17071707
"xref:reference:properties/cluster-properties.adoc#retention_local_target_ms[`retention_local_target_ms`]",
17081708
"xref:manage:tiered-storage.adoc[Tiered Storage]",
@@ -1711,7 +1711,7 @@
17111711
"config_scope": "topic"
17121712
},
17131713
"retention.ms": {
1714-
"description": "A time-based retention limit that configures the maximum duration that a log's segment file for a topic is retained before it becomes eligible to be cleaned up. To consume all data, a consumer of the topic must read from a segment before its `retention.ms` elapses, otherwise the segment may be compacted and/or deleted.\n\nIf `retention.ms` is set to a positive value, it overrides the cluster property xref:./cluster-properties.adoc#log_retention_ms[`log_retention_ms`] for the topic.\n\nWhen both size-based (`retention.bytes`) and time-based (`retention.ms`) retention limits are set, the earliest occurring limit applies.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds to retain data. After this duration, segments become eligible for cleanup.\n* 0: Data is immediately eligible for cleanup.\n* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#log_retention_ms[`log_retention_ms`].",
1714+
"description": "A time-based retention limit that configures the maximum duration that a log's segment file for a topic is retained before it becomes eligible to be cleaned up. To consume all data, a consumer of the topic must read from a segment before its `retention.ms` elapses, otherwise the segment may be compacted and/or deleted.\n\nIf `retention.ms` is set to a positive value, it overrides the cluster property xref:./cluster-properties.adoc#log_retention_ms[`log_retention_ms`] for the topic.\n\nWhen both size-based (`retention.bytes`) and time-based (`retention.ms`) retention limits are set, the earliest occurring limit applies.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds to retain data. After this duration, segments become eligible for cleanup.\n* 0: Data is immediately eligible for cleanup.\n* Negative value: Disables time-based retention for this topic.",
17151715
"related_topics": [
17161716
"xref:reference:properties/cluster-properties.adoc#log_retention_ms[`log_retention_ms`]",
17171717
"xref:manage:cluster-maintenance/disk-utilization.adoc#configure-message-retention[Configure message retention]"
@@ -1923,7 +1923,7 @@
19231923
"config_scope": "topic"
19241924
},
19251925
"segment.ms": {
1926-
"description": "The maximum duration that a log segment of a topic is active (open for writes and not deletable). A periodic event, with `segment.ms` as its period, forcibly closes the active segment and transitions, or rolls, to a new active segment. The closed (inactive) segment is then eligible to be cleaned up according to cleanup and retention properties.\n\nIf set to a positive duration, `segment.ms` overrides the cluster property xref:./cluster-properties.adoc#log_segment_ms[`log_segment_ms`]. Values are automatically clamped between the cluster bounds set by xref:./cluster-properties.adoc#log_segment_ms_min[`log_segment_ms_min`] (default: 10 minutes) and xref:./cluster-properties.adoc#log_segment_ms_max[`log_segment_ms_max`] (default: 1 year). If your configured value exceeds these bounds, Redpanda uses the bound value and logs a warning. Check current cluster bounds with `rpk cluster config get log_segment_ms_min log_segment_ms_max`.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds a segment remains active before rolling to a new segment.\n* 0: Segments are immediately eligible for closure.\n* Negative value: Uses the cluster default from xref:reference:properties/cluster-properties.adoc#log_segment_ms[`log_segment_ms`].",
1926+
"description": "The maximum duration that a log segment of a topic is active (open for writes and not deletable). A periodic event, with `segment.ms` as its period, forcibly closes the active segment and transitions, or rolls, to a new active segment. The closed (inactive) segment is then eligible to be cleaned up according to cleanup and retention properties.\n\nIf set to a positive duration, `segment.ms` overrides the cluster property xref:./cluster-properties.adoc#log_segment_ms[`log_segment_ms`]. Values are automatically clamped between the cluster bounds set by xref:./cluster-properties.adoc#log_segment_ms_min[`log_segment_ms_min`] (default: 10 minutes) and xref:./cluster-properties.adoc#log_segment_ms_max[`log_segment_ms_max`] (default: 1 year). If your configured value exceeds these bounds, Redpanda uses the bound value and logs a warning. Check current cluster bounds with `rpk cluster config get log_segment_ms_min log_segment_ms_max`.\n\nFor topics with compaction enabled, `max.compaction.lag.ms` also acts as a limit to `segment.ms`.\n\nThis property supports three states:\n\n* Positive value: Sets the maximum milliseconds a segment remains active before rolling to a new segment.\n* 0: Segments are immediately eligible for closure.\n* Negative value: Disables time-based segment rolling for this topic.",
19271927
"related_topics": [
19281928
"xref:reference:properties/cluster-properties.adoc#log_segment_ms[`log_segment_ms`]",
19291929
"xref:reference:properties/cluster-properties.adoc#log_segment_ms_min[`log_segment_ms_min`]",

modules/reference/partials/properties/topic-properties.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ This property supports three states:
325325

326326
* Positive value: Sets the milliseconds to retain tombstone records before removal.
327327
* 0: Tombstone records are immediately eligible for removal.
328-
* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#tombstone_retention_ms[`tombstone_retention_ms`].
328+
* Negative value: Disables tombstone removal entirely for this topic.
329329

330330
[cols="1s,2a"]
331331
|===
@@ -847,7 +847,7 @@ This property supports three states:
847847

848848
* Positive value: Sets the minimum dirty ratio (0.0 to 1.0) required before compaction.
849849
* 0: Compaction is always eligible regardless of dirty ratio.
850-
* Negative value: Uses the cluster default from xref:reference:properties/cluster-properties.adoc#min_cleanable_dirty_ratio[`min_cleanable_dirty_ratio`].
850+
* Negative value: This property is not considered when deciding if a log is eligible for compaction.
851851

852852
[cols="1s,2a"]
853853
|===
@@ -1726,7 +1726,7 @@ This property supports three states:
17261726

17271727
* Positive value: Sets the maximum bytes per partition. When exceeded, oldest data becomes eligible for cleanup.
17281728
* 0: Partitions are immediately eligible for cleanup.
1729-
* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_bytes[`retention_bytes`].
1729+
* Negative value: Disables size-based retention for this topic.
17301730

17311731
[cols="1s,2a"]
17321732
|===
@@ -1781,7 +1781,7 @@ This property supports three states:
17811781

17821782
* Positive value: Sets the maximum bytes per partition in local storage before cleanup.
17831783
* 0: Data in local storage is immediately eligible for cleanup.
1784-
* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_local_target_bytes[`retention_local_target_bytes`].
1784+
* Negative value: Disables size-based local retention override for this topic.
17851785

17861786
[cols="1s,2a"]
17871787
|===
@@ -1828,13 +1828,13 @@ endif::[]
18281828
// tag::category-tiered-storage[]
18291829
=== retention.local.target.ms
18301830

1831-
A time-based retention limit for Tiered Storage that sets the maximum duration that a log's segment file for a topic is retained in local storage before cleanup.
1831+
A time-based retention limit for Tiered Storage that sets the maximum duration that a log's segment file for a topic is retained in local storage before cleanup. It applies per partition and is equivalent to <<retentionms, `retention.ms`>> without Tiered Storage.
18321832

18331833
This property supports three states:
18341834

18351835
* Positive value: Sets the maximum milliseconds to retain data in local storage.
18361836
* 0: Data in local storage is immediately eligible for cleanup.
1837-
* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#retention_local_target_ms_default[`retention_local_target_ms_default`].
1837+
* Negative value: Disables time-based local retention override for this topic.
18381838

18391839
[cols="1s,2a"]
18401840
|===
@@ -1893,7 +1893,7 @@ This property supports three states:
18931893

18941894
* Positive value: Sets the maximum milliseconds to retain data. After this duration, segments become eligible for cleanup.
18951895
* 0: Data is immediately eligible for cleanup.
1896-
* Negative value: No per-topic limit applied, inherits cluster default from xref:reference:properties/cluster-properties.adoc#log_retention_ms[`log_retention_ms`].
1896+
* Negative value: Disables time-based retention for this topic.
18971897

18981898
[cols="1s,2a"]
18991899
|===
@@ -1999,11 +1999,13 @@ The maximum duration that a log segment of a topic is active (open for writes an
19991999

20002000
If set to a positive duration, `segment.ms` overrides the cluster property xref:./cluster-properties.adoc#log_segment_ms[`log_segment_ms`]. Values are automatically clamped between the cluster bounds set by xref:./cluster-properties.adoc#log_segment_ms_min[`log_segment_ms_min`] (default: 10 minutes) and xref:./cluster-properties.adoc#log_segment_ms_max[`log_segment_ms_max`] (default: 1 year). If your configured value exceeds these bounds, Redpanda uses the bound value and logs a warning. Check current cluster bounds with `rpk cluster config get log_segment_ms_min log_segment_ms_max`.
20012001

2002+
For topics with compaction enabled, `max.compaction.lag.ms` also acts as a limit to `segment.ms`.
2003+
20022004
This property supports three states:
20032005

20042006
* Positive value: Sets the maximum milliseconds a segment remains active before rolling to a new segment.
20052007
* 0: Segments are immediately eligible for closure.
2006-
* Negative value: Uses the cluster default from xref:reference:properties/cluster-properties.adoc#log_segment_ms[`log_segment_ms`].
2008+
* Negative value: Disables time-based segment rolling for this topic.
20072009

20082010
[cols="1s,2a"]
20092011
|===

0 commit comments

Comments
 (0)