Forum Discussion
Is there a way to push from a .NET program to an EventStream custom endpoint?
I have a .NET program that can read data out from my ERP system, in a loop, to do incremental loads. Is there a way to push from a said program to an EventStream custom endpoint? Do I need to build out a full Kafka system inside the .NET program? Or can I just do something like a POST to a REST endpoint to upload rows of data?
The custom endpoint in Eventstream is actually just an event hub namespace. And from a C# application you can send data to an event hub.
when deploying your Eventstream, just select the custom endpoint as source and you will get the endpoint and sas token to put in your application.
the same place, you can find example code snippets on how to implement the code in your application. I can't remember if C# is shown, but you will get the idea when looking at the code 😊
3 Replies
- lbendlinSuper User
Sadly this isn't supported yet (unlike for Streaming Datasets)
But yeah, Kafka is one possible source
Add and manage eventstream sources - Microsoft Fabric | Microsoft Learn
- datacoffeeMost Valuable Professional
The custom endpoint in Eventstream is actually just an event hub namespace. And from a C# application you can send data to an event hub.
when deploying your Eventstream, just select the custom endpoint as source and you will get the endpoint and sas token to put in your application.
the same place, you can find example code snippets on how to implement the code in your application. I can't remember if C# is shown, but you will get the idea when looking at the code 😊- KeldericHelper I
I got it working, thank you!