Skip to content

Commit

Permalink
[core] Explain tag.num-retained-max (#3555)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin authored Jun 20, 2024
1 parent 6ef57bc commit 9e98cda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/layouts/shortcodes/generated/core_configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -754,13 +754,13 @@
<td><h5>tag.default-time-retained</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>Duration</td>
<td>The default maximum time retained for newly created tags.</td>
<td>The default maximum time retained for newly created tags. It affects both auto-created tags and manually created (by procedure) tags.</td>
</tr>
<tr>
<td><h5>tag.num-retained-max</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>Integer</td>
<td>The maximum number of tags to retain.</td>
<td>The maximum number of tags to retain. It only affects auto-created tags.</td>
</tr>
<tr>
<td><h5>tag.period-formatter</h5></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1057,13 +1057,16 @@ public class CoreOptions implements Serializable {
key("tag.num-retained-max")
.intType()
.noDefaultValue()
.withDescription("The maximum number of tags to retain.");
.withDescription(
"The maximum number of tags to retain. It only affects auto-created tags.");

public static final ConfigOption<Duration> TAG_DEFAULT_TIME_RETAINED =
key("tag.default-time-retained")
.durationType()
.noDefaultValue()
.withDescription("The default maximum time retained for newly created tags.");
.withDescription(
"The default maximum time retained for newly created tags. "
+ "It affects both auto-created tags and manually created (by procedure) tags.");

public static final ConfigOption<Duration> SNAPSHOT_WATERMARK_IDLE_TIMEOUT =
key("snapshot.watermark-idle-timeout")
Expand Down

0 comments on commit 9e98cda

Please sign in to comment.