March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Register NowGet certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I want to stream data stored in a csv file in Azure Storage account by feeding data to Custom App Event Hubs data source in Eventstream in Real time Analytics in Fabric. I want to use a Fabric solution to implement this.
Any help on this would be appreciated.
Thanks.
Hi @supriyapandey19 ,
First you need to create an Eventstream in the Fabric:
Change your Fabric experience to Real-Time Analytics and select Eventstream. Create a new eventstream in your workspace or homepage or create a hub. On the Real-Time Analytics homepage, select the Eventstream tile, or on the Workspace page, select New and then Eventstream.
Create an eventstream in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
Then you need to configure Eventstream:
Configure the source (Custom App) and destination (for example: KQL database) for the eventstream. Send events to the eventstream using your Custom App.
Stream real-time events from a custom app to a Microsoft Fabric KQL database - Microsoft Fabric | Mi...
Stream Data from CSV to Event Hubs:
Use Python or another language to read data from your CSV file. Create an instance of the Azure Event Hub client. Send each record from the CSV file to the Event Hub using the send method.
How to send a CSV file record by record to an Azure Event hub using Python as a real time data strea...
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Thanks for your reply.
Can you please help me in detail on this part.
Stream Data from CSV to Event Hubs:
Use Python or another language to read data from your CSV file. Create an instance of the Azure Event Hub client. Send each record from the CSV file to the Event Hub using the send method.
Thanks.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
Check out the October 2024 Fabric update to learn about new features.