This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
We’re excited to announce the REST APIs for Fabric Eventstream! These new APIs are designed to automate your development workflows for Eventstream, making it easier and faster for your team to build robust streaming solutions. With the Eventstream REST API, you can now programmatically create, manage, and update Eventstream items, reducing manual work and the potential for errors. This enhances productivity, minimizes costs, and helps your team focus on building complex streaming solutions efficiently.
For a complete overview of Microsoft Fabric REST APIs, you can visit Using the Microsoft Fabric REST APIs.
An Eventstream item is composed of several key components: sources, destinations, operators, and streams. The Eventstream REST API currently supports three definition-based operations, giving you full control to manage every component of an Eventstream item.
In addition to these definition-based operations, Eventstream also supports basic CRUD (Create, Read, Update, Delete) operations, allowing for efficient management of Eventstream items within your workspace.
For more information, please refer to Fabric REST APIs for Eventstream.
Here’s a quick overview of the Create Eventstream with Definition API, along with example request and response, to help you get hands-on with the Eventstream REST API.
Request
POST https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items
Body
// Example of payload content decoded from Base64
{
"sources": [
{
"name": "AzureEventHubSource",
"type": "AzureEventHub",
"properties":
{
"dataConnectionId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
"consumerGroupName": "$Default",
"inputSerialization":
{
"type": "Json",
"properties":
{
"encoding": "UTF8"
}
}
}
}
],
"destinations": [
{
"name": "EventhouseDestination",
"type": "Eventhouse",
"properties":
{
"dataIngestionMode": "ProcessedIngestion",
"workspaceId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
"itemId": "bbbbbbbb-1111-2222-3333-cccccccccccc",
"databaseName": "myeventhouse",
"tableName": "mytable",
"inputSerialization":
{
"type": "Json",
"properties":
{
"encoding": "UTF8"
}
}
},
"inputNodes": []
}
],
"streams": [],
"operators": [],
"compatibilityLevel": "1.0"
}
Response
{
"202":
{
"headers":
{
"Location": "https://api.fabric.microsoft.com/v1/operations/aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
"x-ms-operation-id": "bbbbbbbb-1111-2222-3333-cccccccccccc",
"Retry-After": 30
}
}
}
With Eventstream REST API, you can effortlessly build and deploy Eventstream items within your CI/CD pipeline and seamlessly integrate Eventstream into your applications. We look forward to how you’ll leverage these powerful APIs to drive real-time intelligence across your business processes.
Get started today and unlock the full potential of Fabric Eventstream!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.