Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hello everyone
I'm currently working on migrating from On-Premise to Fabric a process that sends a message through TCP connection to a external server.
In the On-Premise version of the server it uses a bash command to send it:
echo {message_string} | timeout {timeout_int} ncat -v {domain_string} {port_int}
So now I ask the question ¿How can I do this in Microsoft Fabric?
Currently, I am generating the text for the message using a pipeline, as shown in the image below:
I tried sending the message using a Notebook with the following code:
import socket
Initially, this worked, but it has since stopped working, and I'm not sure why.
I was told that an event stream could be used for doing this, but i need some guidance on how.
Thanks !
Solved! Go to Solution.
Hi @LucianoCarvajal ,
1.Start by setting up an eventstream item. This will be your central configuration for capturing and routing messages.
2.Since you're targeting an external server over TCP, you'll need a custom application that can act as a bridge. This app will consume messages from the eventstream and forward them to your external server using TCP. The custom app can be hosted in a container or a VM within Azure, ensuring it has network access to your target server.
3.Configure the Eventstream to Use Your Custom App as a Destination.
Please refer: Add custom app source to an eventstream - Microsoft Fabric | Microsoft Learn
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @LucianoCarvajal ,
1.Start by setting up an eventstream item. This will be your central configuration for capturing and routing messages.
2.Since you're targeting an external server over TCP, you'll need a custom application that can act as a bridge. This app will consume messages from the eventstream and forward them to your external server using TCP. The custom app can be hosted in a container or a VM within Azure, ensuring it has network access to your target server.
3.Configure the Eventstream to Use Your Custom App as a Destination.
Please refer: Add custom app source to an eventstream - Microsoft Fabric | Microsoft Learn
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Turn streaming data into instant insights with Microsoft Fabric. Learn to connect live sources, visualize in seconds, and use Copilot + AI for smarter decisions.