how can i send events from json file to eventhub

nadine.benharrath 21 Reputation points
2021-04-06T21:33:08.727+00:00

Hi everyone , i'm beginner and i want to know how can i send events from json file to event hub , in fact , my script sends empty files , please help ?
i also have some plots for requests but i have nothing for messages ?? can someone help me please
thank you

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
637 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 89,386 Reputation points Microsoft Employee
    2021-04-12T04:01:20.58+00:00

    Hello @nadine.benharrath ,

    Glad to know your issue has been resolved.

    To resolve this issue, I would request you to check the Databricks runtime version.

    It seems that your Runtime includes Scala 2.12 but your package is from scala 2.11

    Try installing this: com.microsoft.azure:azure-eventhubs-spark_2.12:2.3.17 to resolve the issue.

    Hope this helps. Do let us know if you any further queries.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.