.NET for Apache Spark: can't read from Event Hubs

Michael Winick 1 Reputation point

I'm attempting to connect my .NET for Apache Spark application to Event Hubs, and following instructions and code described in:

Here's my powershell spark-submit:

spark-submit \--packages com.microsoft.azure:azure-eventhubs-spark_2.11:2.3.21
--class org.apache.spark.deploy.dotnet.DotnetRunner \--master local
bin\Debug\netcoreapp3.1\microsoft-spark-3-0_2.12-1.0.0.jar `
dotnet bin\Debug\netcoreapp3.1\mySparkApp.dll

with the following output/errors:


Any direction would be greatly appreciated.

Microsoft Technologies based on the .NET software framework.
1,174 questions
{count} votes