Get data for Activator from eventstreams

You can get data for use in Fabric Activator from many sources. This article describes how to get data from eventstreams.

If you have real-time streaming data in Fabric eventstreams, connect it to Activator. This article explains how.

Prerequisites

  • You need an eventstream item in Fabric with a connection to a source.
  • Each event in the source must consist of a JSON dictionary.
  • One of the dictionary keys must represent a unique object ID.

Here's an example of an event that meets these criteria:

{
"PackageID": "PKG123",
"Temperature": 25
}

In this example, PackageID is the unique ID.

Connect your eventstream item to Activator

You can connect your eventstream item to Activator in one of two ways:

Start from the eventstream item

If you don't have your own eventstream, Microsoft supplies a sample eventstream named Bicycles.

  1. To open the sample, select Create from the nav pane.

  2. Scroll down to Real-Time intelligence and select Eventstream.

  3. Name the eventstream and select Use sample data.

  4. Name the source and select Add.

  5. Add a destination to your eventstream item, of type Activator

    A screenshot of an eventstream dropdown for selecting a destination.

  6. In the right pane, select an existing Activator item, or make a new one, then select Save.

  7. Open your Activator item. See the data flowing from your eventstream item in the data pane.

    Screenshot of eventstream item showing data flow.

Start from the activator item

  1. Open your activator item. One way to open your activator is to select Real-Time from the nav pane and choose an eventstream from the list.
  2. Select the Set alert tile.

Once you connect your eventstream item to Activator, the next step is to assign your data to some objects. To assign your data, follow the steps described in the Assign data to objects in Activator article.

You can also learn more about Microsoft Fabric: