Run a Python script and generate outputs, metrics and files specified with a variable
Run a parametrized Python script in Kestra that emits downloadable files, named outputs, and custom metrics.
Audits Apache Hudi lakehouse table timeline commits on object storage, detects stalled delta commits and pipeline halts, alerting via Slack.
Audits Apache Hudi lakehouse table timeline commit metadata directly from object storage (.hoodie/ directory), detecting stalled streaming delta commits, compaction pipeline deadlocks, and ingestion engine halts before downstream BI reports degrade.
flowchart TD
A[periodic_hudi_audit Schedule Trigger] --> B[scan_hudi_timeline_metadata Python Script]
B --> C[check_commit_staleness Flowable If]
C -- Threshold Breached --> D[notify_slack_data_alert Webhook]
C -- Metrics Nominal --> E[log_nominal_hudi_state Log]
D --> E
E --> F[export_hudi_manifest Return]
periodic_hudi_audit): Drives scheduled recurring surveillance cycles without human intervention.scan_hudi_timeline_metadata): Queries target APIs and structures diagnostic indicators via Kestra outputs.check_commit_staleness): Evaluates operational safety boundaries using deterministic boolean branching.notify_slack_data_alert): Dispatches rich, actionable incident messages directly to team channels.export_hudi_manifest): Emits structured compliance payloads for SIEM and analytics records.| Name | Type | Default | Description |
|---|---|---|---|
storage_bucket |
STRING |
prod-lakehouse-data-lake |
Amazon S3 or object storage bucket name storing the Apache Hudi table files. |
table_prefix |
STRING |
hudi/events_clickstream_v1 |
S3 object key prefix pointing to the root directory of the Apache Hudi table containing .hoodie metadata. |
table_name |
STRING |
events_clickstream_v1 |
Human-readable name of the Apache Hudi lakehouse table for reporting. |
max_staleness_minutes |
INT |
45 |
Maximum tolerated duration in minutes without new completed commits before triggering an alert. |
aws_region |
STRING |
us-east-1 |
AWS cloud region where the target lakehouse storage bucket is hosted. |
alert_on_stale |
BOOL |
True |
Toggle whether Slack webhook alerts are dispatched upon detecting commit timeline staleness. |
{{ outputs.scan_hudi_timeline_metadata.vars.latest_commit_instant }}: Timestamp string identifier of the latest completed commit on the Hudi timeline.{{ outputs.scan_hudi_timeline_metadata.vars.commit_state }}: Operational state of the commit transaction (COMPLETED, STALLED).{{ outputs.scan_hudi_timeline_metadata.vars.staleness_minutes }}: Elapsed duration in minutes since the latest successful commit was published.{{ outputs.scan_hudi_timeline_metadata.vars.is_alerting }}: Boolean flag indicating whether commit staleness breached configured alert thresholds.AWS_ACCESS_KEY_ID: Vault secret required for authenticated API execution and notifications.AWS_SECRET_ACCESS_KEY: Vault secret required for authenticated API execution and notifications.SLACK_WEBHOOK_URL: Vault secret required for authenticated API execution and notifications.company.data namespace.