Ravi Chandu Edru/ videos

Tutorials and deep dives · 1 of 3

Fabric Eventstream: Azure EventHub to Eventhouse | Multi-Schema Inferencing | Real-time Intelligence

Nov 15, 2025 · 22:43 · Video

In this video

Learn how to build real-time intelligence pipelines in Microsoft Fabric! This video demonstrates connecting Azure Event Hubs to an Eventhouse using Fabric Eventstreams, featuring a practical "PizzaBox" delivery scenario.

You'll see:
Azure Event Hubs Integration: Seamlessly ingest live data streams.

Continuous vs. Discrete Events: Understand the difference and how to handle them.

Eventstreams No-Code Processor: Filter and transform your data.

Multi-Schema Inferencing (Preview): Discover this powerful feature to correctly handle varied data schemas from a single source, preventing unwanted null columns.

Eventhouse Destination: Land your clean, processed data for real-time KQL analytics.

This demo walks you through setting up connections, applying transformations, and leveraging advanced schema handling for efficient data ingestion. Perfect for data engineers and analysts working with real-time intelligence solutions in Microsoft Fabric!

Read the transcript

Press a time to play from there.

Yeah. Hi guys. In this video, I'm going to explain event streams. How event stream is helpful in connecting and processing live events and send them to the destination sources like event house. To explain this, I'm taking pizza box as a as an example. Here you can see the tagline. Delivering hot pizzas on time every time. on time every time is a bit challenge on every minute they need to be on. So here you can see they did like they have seven branches, 40 riders and they delivering 500 orders every day across the city. So basically for this I'm taking four source tables for this example like first one is the orders or is like whenever a customer is placed an order through a app or a website it generates an row like basically one order ID for each row kind of thing. And the second one is order status. Order shares is like it updates the what is the status of the order like basically whether it is under cooking or is under ready to pick or is it deliverable kind of thing. And third one is riders. Basically riders have the rider app. Basically that what the app does is like it automatically sends the driver's location and the status of the rider like every 1 minute. like basically sends continuously every 1 minute like the live location of the rider so that uh we get track of where the trader is.

The fourth one is kitchen like basically it updates the sensor data every 1 minute like uh what's the temperature of the oven what's the temperature of the fridge etc kind like kind of sensor details here we have the orders order status writers and kitchen but we have two types in it like one is continuous and other is discrete here continuous means writers and kitchen where the data get updated every 1 minute continuously Okay. And the other one is discrete. Discrete is like whenever any event comes then only it updates like uh basically when the customer places an order then only it gets updated and created data. This is called discrete events. To understand this project more clearly I'm going to show you the architecture of the project so that you can understand it more clearly. Here is our architecture for our pizza box. How we can do this? Like I will show you how exactly we do this like basically we are just focusing on these things currently in this example. So first of all we focus on getting the data from the source and source to the event stream and event stream to the event house. So we are focusing on these things. How this event stream event stream helping us to connect like event hubs helping us to connect the azour and and these two event house. Let's get into the example.

Okay. Go to the fabric. So here I already created Per works workspace. So now we need to create event house like first of all we need to create the event host the source where we need to store our data. So basically here I'm setting as like P box.

So here you can see basically pizza box event house is created. Now go back to the workspace. Okay, now we need to create the event stream our main thing. Okay, I will get as place a box. Yes, event stream. Okay, our event stream is created. Now we need to connect to the sources. Basically our source for this example is Azure event hub.

For here it is Azour event hub. So we need to create a new connection. So before going to into this I will show you how these things are looks in like how these things are in Azure event up to. So just a quick overview of these things. So go to the water.com.

So here my sources are in this particular uh this particular name space like basically here this is our uh name space azure name space and these are the azour like event hubs. These are the five but currently we are using only the four and the shared access key like basically our primary key is located here the primary key. So go back here and create the put the source name like the event source name here or like here it is pizza box source.

The first table name is you can see here I'm taking as orders or table so put it as best name is or now here the shared access key basically shared access key name is policy name is like here root manager shared access key we need to put and the primary key. This is our primary key connect.

Yeah, I'm saving it just yeah here now our connection is created. Now here we can change the source name like here I created orders. So I put it as a orers hub. Next. Okay. Here we connected one source and we can add the other sources also.

Yeah, here we connected all the four sources and now we need to push them to the destination table. So how we can connect is like basically here we can see quick preview of it like how the tables and the columns are there. Here you can see all the four sources like here we have the column called event. So here you can see all for all those four sources we have the event column and it shows like uh for a for each source it has a specific uh name in it. So that with the help of these thing we can filter out which which table it is like which source it is to push them to the destination table. So here we can normally we can perform lot of transformation steps like basically we have in power query if you are coming from the powerbi. So here we creating a filter so that we can identify which source it is. First of all we creating orders filter.

Select the field we want to filter equals to for orders it is like orders order placed. Yeah, we created the filter. Next step is like we need to connect to the event house. So here the event house name you can put as uh orders destination next event house we already created the pizza box event house the table like this only like here we have two options like if you create uh specific table already in the event Then we can directly connect it from here like otherwise we can directly create it from here like put this name as the orers and done and save. So it is created. So one more table like first of all I will show you what is direct injection here. Directly we can connect to the event host. If we connect to the event house without any pre-processing so we can directly push the data into the event house so that uh without like basically we are not any if there is only single source kind of things scenarios then we can directly select the direct injection mode so that uh it can inject the data bit.

For this purpose, we need to put the filter because we have different sources here. Here I intentionally making one more mistake so that you can understand why I'm doing like that. I will tell you one moment here. So just to show you one example here like I will publish and show you here some me will create here.

So it is loading the data. One moment. Okay. Now it is loaded. Now I will show you like uh like mistake we I did it to understand like very clearly like uh basically here what we did is we we connected to the source and filtered with the help of the event column so that uh whatever the specific rows like basically what happens all these things four sources are connected to the specific one event stream and then separated using these filters.

How we separating it? Basically using this event column based on the specific uh name in that uh event like to divide all these force. But like basically it is connected destination. This is fine until now. But here if you can see like uh for the kitchen source like kitchen table we can see there is some matrix values all these things are there. for orders some different columns are there. But when we go to the destination table like the final destination to it is connected to the event house. So here you can see these starting columns are fine but when we scroll last here you can see status egg these are all are coming from the kitchen table. Why? Because can you guess it? Why? because we are just filtering based on the rows but not on the column schema. We are just uh we are like basically what the event stream is do is like we me all the sources and based on the filters what we apply or the schemas it will divide them to the specific tables based on our conditions but here we specifically mentioned the filter only not the schema basically the columns which are here basically if you look into this orders table here you can see these these are empty But because there is no specific like we are filtering based on rows but these are the extra columns unnecessary columns we are adding in it. So here you now you can understand what's the problem here. So to resolve this thing the fabric team the RTI team added one more feature called schema where we need to turn on this currently it is in preview.

This is called multis schema interfacing. Like basically what it does is it identifies specific schema like create specific schema for each sources automatically to the how many sources like basically here we have four sources it will create a unique source for all those four basically all those four sources. So now if we go back 1 minute I will clear all those things and we can start it back. Here we turn on the multiscale interfacing. So that how it will help us is like uh go back to this and click on edit. And now if you check it like we have one more option now is schema. We can look into what like basically it creates a separate schema for each sources. So we can identify we can connect to those schemas. Wait a minute like it just loading. Yeah it is loaded. Yeah basically now you can see it has different schemas for different. So this one is for previously we made all those things into one table. So it is created like that. But you can see here for raders of one schema. this thing like it created one unique schema for each one it is.

Yeah, here you can see it is created one schema for each source. This one is for previously we measured all those things. So it is created like that. But here you can see now we can what we can do is we can filter it by row and filter it by the schema so that we can get the correct table to the destination. Open here. Click on filter. I quickly update all the things order filters. Here you can see it will it has the name in it. Which one which schema it is? Like here we need to select the orders. Now we can select this event to filter out the only event rows like order rows. Here for products it is orders order placed.

Now connect to the destination that is basically destination. Here if you click on this game here you can see what are the columns are there in this particular to identify like basically it is auto connected here it is our pizza box pizza box event house then we need to create a table that is currently it is in bronze so I'm putting the name called raw orders so it is done Now refresh and see like is it working correctly as we think. Now you can see the data is loaded. Now here you can see there is no unnecessary columns in it and unnecessary rows in it. So here you can see so it filter out both the schema and the rows with the help of this orders filter. Now we can quickly update to the other tables also.

Look for the last for the last table like we can we can directly create it in the event house then we can connect to the event stream here so that we can see both the ways here I'm publishing it basically here we can see all the resources are connected and connect like basically resource are created and connect it to the destination. And for the fourth one, we directly going to the event house and we can create it there. Here go to the query set. Yeah, here just rename this tab name like a bronze table and here we will create the writers table. Basically here you can see we name it as a raiders and specify specifically mention these tables and what are the data types in it. Here you can see we already loaded this three tables. Now we are creating the raw here you can see these particular raw rad table is created but there will be no data in it because there is no source is noted to check that raw riders and take any rows in it. run it basically nothing in it or we can just count the number of toss in it basically it's zero because we are not connected now we can go to the event stream and click on edit now click on transform step filter and connect to the event Now instead of creating here we can Let's select the table we created just now. Here we created the raw data. So we directly connect to that one and publish.

Here it is loading. And go back to this tables. And here you can see all these four four are created. Now if you want to check the others also just orers what are the columns in it. run it. Now here you can see what like here it will show all these columns here. Now here you can see only columns which are there in that specific source only. Here it is created not the unnecessary columns or unnecessary rows because we applied the filters and also the schema using the multi schema interface. Thank you. That's that's all for the video. Bye.