question

sakuraime avatar image
0 Votes"
sakuraime asked SaurabhSharma-msft commented

Azure databricks : Eventhub in pyspark

How can I use databricks in python to work with eventub ? I can't import the eventhub library in python , while in scala is ok .

140609-image.png


140612-image.png


azure-databricks
image.png (51.7 KiB)
image.png (28.5 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sakuraime,
Thanks for using Microsoft Q&A !!
I have checked eventhubs library with both python and Scala and it worked fine to me.
140630-image.png

What is the Databricks Runtime version you are using ? I have tried with 8.3 (includes Apache Spark 3.1.1, Scala 2.12)
140724-image.png

Thanks
Saurabh


0 Votes 0 ·
image.png (8.7 KiB)
image.png (10.8 KiB)

I am using 8.3 too.

140718-image.png


140753-image.png





anything else library you also installed ?

0 Votes 0 ·
image.png (32.5 KiB)
image.png (12.2 KiB)

Hi @sakuraime,
No, I do not have any library other than Eventhub.

Thanks
Saurabh

0 Votes 0 ·
Show more comments

0 Answers