forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ingest/gc): Add dataflow and soft deleted entities cleanup (data…
- Loading branch information
Showing
4 changed files
with
683 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
source: | ||
type: datahub-gc | ||
config: | ||
# Cleanup expired tokens | ||
cleanup_expired_tokens: true | ||
# Whether to truncate elasticsearch indices or not which can be safely truncated | ||
truncate_indices: true | ||
|
||
# Cleanup DataProcess Instances | ||
dataprocess_cleanup: | ||
retention_days: 10 | ||
# Delete empty Data Jobs (if no DataProcessInstance associated with the DataJob) | ||
delete_empty_data_jobs: true | ||
# Delete empty Data Flow (if no DataJob associated with the DataFlow) | ||
delete_empty_data_flows: true | ||
# Whether to hard delete entities or soft delete them | ||
hard_delete_entities: false | ||
# Keep the last n dataprocess instances | ||
keep_last_n: 5 | ||
soft_deleted_entities_cleanup: | ||
# Delete soft deleted entities which were deleted 10 days ago | ||
retention_days: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.