databricks-spark-structured-streaming

Implement Spark Structured Streaming pipelines on Databricks with Kafka and Delta Lake.

4|2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/alessandro9110/Speech-To-Text-With-Databricks --skill databricks-spark-structured-streaming-alessandro9110
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-spark-structured-streaming
Source: https://github.com/alessandro9110/Speech-To-Text-With-Databricks/tree/main/.claude/skills/databricks-spark-structured-streaming
Command: npx skills add https://github.com/alessandro9110/Speech-To-Text-With-Databricks --skill databricks-spark-structured-streaming-alessandro9110

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and patterns for building robust, production-ready streaming data pipelines using Spark Structured Streaming, addressing challenges like data ingestion, real-time processing, state management, and fault tolerance.

Core Features & Use Cases

  • End-to-End Pipelines: Covers ingestion from sources like Kafka to sinks like Delta Lake.
  • Stateful Operations: Manages late-arriving data and stateful computations using watermarks and state stores.
  • Performance Optimization: Offers best practices for tuning triggers, cluster configurations, and checkpointing.
  • Use Case: Implement a real-time analytics dashboard by streaming clickstream data from Kafka, enriching it with user dimension data, performing aggregations, and writing results to a Delta table, all while ensuring exactly-once processing guarantees.

Quick Start

Use the databricks-spark-structured-streaming skill to create a basic Kafka to Delta streaming pipeline.

Frequently Asked Questions about databricks-spark-structured-streaming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Spark Structured Streaming pipeline from Kafka to Delta Lake?

To build a Spark Structured Streaming pipeline from Kafka to Delta Lake, you ingest data from Kafka sources and write outputs continuously to Delta Lake tables. This Skill provides patterns for configuring the Kafka source, applying transformations, and executing the continuous Delta write operation.

How does Spark Structured Streaming handle late-arriving data with watermarks?

Spark Structured Streaming handles late-arriving data by defining watermarks that specify how long the engine waits for late data before finalizing stateful aggregations. This Skill covers best practices for configuring watermarks to manage state stores and drop outdated records.

Can I perform stream-static joins to enrich real-time data in Databricks?

Yes, you can perform stream-static joins in Databricks to enrich real-time streaming data with static dimension tables. This Skill outlines patterns for stream-static joins and stream-stream joins, allowing you to augment incoming records with supplementary context.

What is the best way to optimize triggers for Structured Streaming production workloads?

The best way to optimize triggers for Structured Streaming production workloads involves tuning trigger intervals and cluster configurations to balance latency and throughput. This Skill provides performance tuning patterns for triggers to ensure robust, production-ready stream processing.

How do I ensure exactly-once semantics in Spark Structured Streaming pipelines?

You ensure exactly-once semantics in Spark Structured Streaming pipelines by utilizing checkpointing alongside idempotent sink writes to Delta Lake. This Skill addresses fault tolerance and checkpointing configurations required to guarantee exactly-once processing guarantees.