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.
To open the sample, select Create from the nav pane.
Scroll down to Real-Time intelligence and select Eventstream.
Name the eventstream and select Use sample data.
Name the source and select Add.
Add a destination to your eventstream item, of type Activator
In the right pane, select an existing Activator item, or make a new one, then select Save.
Open your Activator item. See the data flowing from your eventstream item in the data pane.
Start from the activator item
- 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.
- 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.
Related content
You can also learn more about Microsoft Fabric: