簡體   English   中英

無法在 VS 代碼中調試 Azure Stream Analytics Cosmos DB output

[英]Can't debug Azure Stream Analytics Cosmos DB output in VS Code

I am trying to build an Azure Stream Analytics job in VS Code using the Azure Stream Analytics Tools extension. 我添加了一個事件中心作為輸入,添加了一個數據湖第 2 代存儲帳戶作為 output,我可以使用“使用實時輸入和實時輸出”在 VS Code 中成功運行該作業。

The issue I'm having is when I try to set the output to an Azure Cosmos DB Document DB instead I get an error "Failed to convert output 'cosmosdb': Unsupported data source type.." when trying to use live input and output . 但是,我可以使用“實時輸入和本地輸出”成功運行作業

這是您無法針對 Cosmos DB 實時調試 output 的 VS Code 擴展的限制嗎? 還是我在我的 cosmos db output 中設置錯誤? 見cosmos db output代碼

{
"Name": "cosmosdb",
"DataSourceType": "DocumentDB",
"DocumentDbProperties": {
    "AccountId": "cosmosdb-dev-eastau-001",
    "AccountKey": null,
    "Database": "cosmosdb_db",
    "ContainerName": "container1",
    "DocumentId": ""
},
"DataSourceCredentialDomain": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx.StreamAnalystics",
"ScriptType": "Output"

}

For Live Input to Live Output mode, the only supported output adapters (for now) are Event Hub, Storage Account, and Azure SQL. https://docs.microsoft.com/en-us/azure/stream-analytics/visual-studio-code-local-run-all#local-run-modes

暫無
暫無

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

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