corgy-w commented on code in PR #7787:
URL: https://github.com/apache/seatunnel/pull/7787#discussion_r1797208541
##########
seatunnel-engine/seatunnel-engine-common/src/main/java/org/apache/seatunnel/engine/common/config/server/ServerConfigOptions.java:
##########
@@ -204,6 +204,39 @@ public class ServerConfigOptions {
.withDescription(
"Whether to use classloader cache mode. With cache
mode, all jobs share the same classloader if the jars are the same");
+ public static final Option<Boolean>
TELEMETRY_LOGS_SCHEDULED_DELETION_ENABLE =
+ Options.key("scheduled-deletion-enable")
+ .booleanType()
+ .defaultValue(false)
+ .withDescription("Enable scheduled deletion of telemetry
logs");
+
+ public static final Option<Long>
TELEMETRY_LOGS_SCHEDULED_DELETION_KEEP_TIME =
+ Options.key("keep-time")
+ .longType()
+ .defaultValue(2592000000L)
+ .withDescription("The number of time to keep telemetry
logs");
+
+ public static final Option<String> TELEMETRY_LOGS_SCHEDULED_DELETION_CRON =
+ Options.key("cron")
+ .stringType()
+ .defaultValue("0 0 * * *")
Review Comment:
The default value is useful
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]