Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to get events from an Azure event hub into Real-Time hub.
Prerequisites
- Access to a workspace in the Fabric capacity license mode (or) the Trial license mode with Contributor or higher permissions.
- Create an Azure Event Hubs namespace and an event hub if you don't have one.
- You need to have appropriate permission to get access keys for the event hub. The event hub must be publicly accessible and not behind a firewall or secured in a virtual network.
Data sources page
Sign in to Microsoft Fabric.
If you see Power BI at the bottom-left of the page, switch to the Fabric workload by selecting Power BI and then by selecting Fabric.
Select Real-Time on the left navigation bar.
The Streaming data page opens by default. Click on the Add data button to get to the Data sources page.
You can also get to the Data sources page directly by selecting the Add data option in the left navigation bar.
On the Data sources page, select Microsoft sources category at the top, and then select Connect on the Azure Event Hubs tile.
Now, follow instructions from the Connect to an Azure event hub section.
Configure connection settings and credentials
To create a connection to an event hub, on the Connect page, select New connection.
If there's an existing connection to your Azure event hub, you select that existing connection as shown in the following image, and then move on to the Configure and connect to the Azure event hub resource section.
In the Connection settings section, do these steps:
In the Connection credentials section, do these steps:
For Connection name, enter a name for the connection to the event hub.
For Authentication kind, confirm that Shared Access Key is selected.
For Shared Access Key Name, enter the name of the shared access key.
For Shared Access Key, enter the value of the shared access key.
Select Connect at the bottom of the page.
Now, continue to Configure and connect to the Azure event hub resource.
Configure and connect to the Azure event hub
Now, on the Connect page of wizard, for Consumer group, enter the name of the consumer group. By default,
$Defaultis selected, which is the default consumer group for the event hub.For Data format, select a data format of the incoming real-time events that you want to get from your Azure event hub.
In the Stream details section to the right, select the Fabric workspace where you want to save the eventstream that the Wizard is going to create.
For eventstream name, enter a name for the eventstream. The wizard creates an eventstream with the selected event hub as a source.
The Stream name is automatically generated for you by appending -stream to the name of the eventstream. You can see this stream on the Real-time hub All data streams page when the wizard finishes.
Select Next at the bottom of the page.
On the Review + connect page, review settings, and select Connect.
View data stream details
On the Review + connect page, if you select Open eventstream, the wizard opens the eventstream that it created for you with the selected event hub as a source. To close the wizard, select Finish at the bottom of the page.
You should see the stream in the Recent streaming data section of the Real-Time hub home page. For detailed steps, see View details of data streams in Fabric Real-Time hub.
Related content
To learn about consuming data streams, see the following articles: