簡體   English   中英

如何在 Azure 中的 Python 中使用 Eventhub 和 Storage SDK

[英]How use Eventhub and Storage SDK in python in Azure

當人們想在 python SDK 中使用 ADLS gen2 存儲和事件中心時如何解決它https://github.com/Azure/azure-sdk-for-python/issues/8912

如果我誤解了你的問題,請糾正我。

  1. 如果你安裝了azure-eventhub 1.3.2 ,同時你想使用最新的azure-storage-blob 12.1.0來運行 ADLS Gen2(我假設你只需要運行 ADLS Gen2,但與事件無關中心)。 如果是這種情況,我建議您可以創建一個虛擬環境,然后在虛擬環境中安裝azure-storage-blob 12.1.0

  2. 如果要將最新的azure-storage-blob 12.1.0與 azure 事件中心一起使用,則較低版本的事件中心與azure-storage-blob 12.1.0不兼容,則應使用較新版本的事件中心,例如azure-eventhub 5.0.0

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM