Use Pulsar Realtime Trigger to push events into MySQL
Stream Apache Pulsar messages straight into MySQL in real time, one row per event.
Monitors Apache Spark Streaming applications for batch processing delays exceeding micro-batch intervals.
This workflow queries the Apache Spark Driver REST API (/api/v1/applications/{app_id}/streaming/batches) to monitor micro-batch processing times and scheduling delays. In Spark Structured Streaming and micro-batch architectures, if batch processing time exceeds the configured trigger interval (e.g. batch takes 15 seconds on a 5-second trigger), scheduling delays accumulate monotonically. Queued micro-batches flood driver memory, executor garbage collection escalates, and end-to-end data latency spikes. This workflow tracks processing delays and alerts data engineering teams before driver OOM crashes occur.
4040).SLACK_WEBHOOK configured in Kestra./api/v1/applications/{app_id}/executors.