Edit

Share via


Add a Fabric Spark Notebook destination to an Eventstream (preview)

Note

This feature is currently in preview and might change before general availability.

You can now route data from a Fabric Eventstream directly into a Spark Notebook. This feature enables real-time data processing and advanced analytics using Spark Structured Streaming within Microsoft Fabric.

Prerequisites

Before you begin, make sure that you have:

  • You have access to a Fabric workspace.
  • A Spark Notebook already exists in the target workspace.
  • You have appropriate permissions to modify Eventstreams and access the Notebook.

Add a Spark notebook as a destination

Follow these steps to configure a Spark notebook as a destination for your Eventstream:

Step 1: Select the Spark notebook destination

  1. In your Eventstream, select the Edit option in the ribbon.

    A screenshot with the Edit button for an eventstream selected.

  2. Select Notebook from the list of available destinations.

    A screenshot of the Add destination dropdown list with Notebook highlighted.

Step 2: Select an existing notebook

  1. In the destination configuration pane, type in the Destination name if you wish to change the default.

  2. Select the Notebook dropdown and select an existing notebook.

    A screenshot of the Notebook destination configuration pane with the destination name and Notebook dropdown list highlighted.

  3. Once the selected notebook is validated, a Validated. View parameters and values. message appears under the text box. Select the link to view the details or skip ahead and Save.

    A screenshot of the Notebook destination configuration pane parameter validate link and dialog box highlighted.

Step 3: Save and publish

  • Select Save and then Publish changes to the Eventstream. This action updates the Eventstream and initiates the Spark Structured Streaming job.

    A screenshot of the Notebook destination configuration with the Save button highlighted.

Step 4: Review the notebook

  • From the Eventstream view, select the Notebook destination. From the Details pane, select the Open Item link to open the configured Notebook item.

    A screenshot of the Notebook destination with the Details pane highlighted.