Forum Discussion

DennesTorres's avatar
DennesTorres
Icon for Power Participant rankPower Participant
1 year ago
Solved

What are the scenarios for Delta Streaming ?

Hi, I'm not much sure if I fully understand the usage scenarios of Delta Streaming in Fabric. I'm noticing information about this included in documentations and labs as a preparation for certifica...
  • v-ssriganesh's avatar
    v-ssriganesh
    1 year ago

    Hi DennesTorres,

    Thank you for your patience and for sharing your thoughts!

    After reviewing the link you provided, Richbenmintz offered a comprehensive overview of Delta Streaming's capability to operate continuously. Their points about the persistence of the streaming job, even if the notebook session is stopped, are accurate. Streaming jobs can indeed continue running independently of the notebook session, enabling near real-time analytics.

    Providing comprehensive insights and detailed analysis:
    So, my response aimed to clarify the behavior of streaming in notebooks, but it may have caused some confusion. While it's true that if you don’t call awaitTermination() or stop(), the stream can keep running, I should have emphasized that the stream will indeed stop if the notebook session is terminated.

    • Yes, Delta Streaming can be continuous, but it typically requires a Spark job definition for long-term execution.
    • The streaming job persists independently of the notebook session, but if the session is stopped, the stream will stop as well.
    • You can manage streaming jobs through the Spark UI or programmatically, but they will need to be restarted if the session ends.

    I appreciate your willingness to experiment further, as hands-on experience is invaluable for understanding these concepts. If this proves helpful, kindly Accept it as a solution and leave a "Kudos" so other members can easily find it.
    Thank you.