How do people solve it when they want to use ADLS gen2 storage along with event hub in python SDK https://github.com/Azure/azure-sdk-for-python/issues/8912
Asked
Active
Viewed 67 times
0
-
Hi Nipun, which feature of ADLS gen2 storage do you want to use? Can you provide a code example? – Ivan Glasenberg Jan 14 '20 at 05:20
-
I would like to read file. I can use rest api for this, but was mainly interested in the sdk as it provides exception handling – Nipun Jan 14 '20 at 15:25
-
You mean you're installing azure event hub package is 1.3.2, and want to use the latest blob storage sdk v12 to operate ADLS Gen2. If yes, I want to know one thing, when operate ADLS Gen2, there is nothing to do with event hub, right? – Ivan Glasenberg Jan 15 '20 at 01:14
1 Answers
1
Please correct me if I misunderstood your question.
If you installed azure-eventhub 1.3.2, and at the same time you want to use the latest azure-storage-blob 12.1.0 to operate ADLS Gen2(I assume you just need to operate ADLS Gen2, but nothing to do with event hub). If that's the case, I suggest you can create a virtual environment, then install the azure-storage-blob 12.1.0 within the virtual environment.
If you want to use the latest azure-storage-blob 12.1.0 with azure event hub, then the lower version of event hub is incompatible with azure-storage-blob 12.1.0, you should use the newer version of event hub, like azure-eventhub 5.0.0.

Ivan Glasenberg
- 29,865
- 2
- 44
- 60
-
Oh I didnt realised that Azure-eventhub 5.0.0 is released. Seems like it is release recently. I accept this as an answer – Nipun Jan 15 '20 at 01:51