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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi there,
I am trying to stream event data from an Azure Event Hub using Spark Structured Streaming from within a Fabric Notebook to a lakehouse. The event data is protobuf and base64 encoded. I wanted to use the "from_protobuf()" method (Protobuf Data Source Guide - Spark 3.5.4 Documentation) to decode the payload.
However, I am getting the following error message:
"Spark Protobuf libraries not found in class path. Try one of the following. 1. Include the Protobuf library and its dependencies with in the spark-submit command as $ bin/spark-submit --packages org.apache.spark:spark-protobuf:3.4.3.5.3.20241016.1 ... 2. Download the JAR of the artifact from Maven Central http://search.maven.org/, Group Id = org.apache.spark, Artifact Id = spark-protobuf, Version = 3.4.3.5.3.20241016.1. Then, include the jar in the spark-submit command as $ bin/spark-submit --jars <spark-protobuf.jar> ..."
Now my question is how do I do this in a Fabric notebook environment? Is there a way to include the mentioned library?
Also: I have two Python modules that contain the classes generated from the .proto schemas which are required to decode the payload. Where do I have to put these so that I can hand them to the from_protobuf() method?
Looking forward to any ideas on this! Thanks a lot and best, flo.
Solved! Go to Solution.
@friend1, Thanks reaching out to MS Fabric community support.
please refer to below wiki on how to manage apache spark libraries and let me know if this helps?
Manage Apache Spark libraries - Microsoft Fabric | Microsoft Learn
Thanks,
Prashanth Are
MS Fabric community support
Did we answer your question? Mark post as a solution, this will help others!
If our response(s) assisted you in any way, don't forget to drop me a "Kudos"
@friend1, Thanks reaching out to MS Fabric community support.
please refer to below wiki on how to manage apache spark libraries and let me know if this helps?
Manage Apache Spark libraries - Microsoft Fabric | Microsoft Learn
Thanks,
Prashanth Are
MS Fabric community support
Did we answer your question? Mark post as a solution, this will help others!
If our response(s) assisted you in any way, don't forget to drop me a "Kudos"
@friend1, As we havenโt heard back from you, we wanted to check in to see if the resolution provided helps?
If youโre still facing any issues or have additional questions, please donโt hesitate to let us know.
Weโre here to help and would be happy to assist further if needed. Looking forward to your feedback!
Thanks,
Prashanth Are
MS Fabric community support.
Did we answer your question? Mark post as a solution, this will help others!
If our response(s) assisted you in any way, don't forget to drop me a "Kudos"
@friend1, As we havenโt heard back from you, we wanted to check in to see if the resolution provided helps?
If youโre still facing any issues or have additional questions, please donโt hesitate to let us know.
Weโre here to help and would be happy to assist further if needed. Looking forward to your feedback!
Thanks,
Prashanth Are
MS Fabric community support.
Did we answer your question? Mark post as a solution, this will help others!
If our response(s) assisted you in any way, don't forget to drop me a "Kudos"
@friend1, As we havenโt heard back from you, we wanted to check in to see if the resolution provided helps?
If youโre still facing any issues or have additional questions, please donโt hesitate to let us know.
Weโre here to help and would be happy to assist further if needed. Looking forward to your feedback!
Thanks,
Prashanth Are
MS Fabric community support.
Did we answer your question? Mark post as a solution, this will help others!
If our response(s) assisted you in any way, don't forget to drop me a "Kudos"
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!