[英]How to customize a masstransit payload when pushing on Azure-topics
我正在使用 Mass-transit 執行一些任務,現在我有一個新請求,它向 Azure 主題發送消息。 一切都很好,除了有效載荷有太多信息,而且消費者不需要在他們的終端使用公共交通工具。 我現在想做的是自定義我的有效載荷,以獲得完整的自定義有效載荷。 我看到你在header可以添加一些信息,但是你 ...
[英]How to customize a masstransit payload when pushing on Azure-topics
我正在使用 Mass-transit 執行一些任務,現在我有一個新請求,它向 Azure 主題發送消息。 一切都很好,除了有效載荷有太多信息,而且消費者不需要在他們的終端使用公共交通工具。 我現在想做的是自定義我的有效載荷,以獲得完整的自定義有效載荷。 我看到你在header可以添加一些信息,但是你 ...
[英]Azure Services Bus - How to Specify the Receiver of a Message if there are Multiple App Service Instances
我們有多個客戶端通過 websockets 連接到 Azure App Service (WebApp1)。 這些客戶端向/從 WebApp1 發送和接收 JSON 條消息。 WebApp1 將服務總線隊列上的消息發送到 WebApp2 和 WebApp3,它們還將其他隊列上的消息發送回 WebA ...
[英]Azure Service Bus - unable to see the message
消息從 Java 代碼發布到服務總線,同時檢查 Azure 門戶 -> 服務總線 -> 可以看到傳入和成功的請求。 我一直在嘗試使用“服務總線資源管理器”查看 Azure 發布的消息。 但無法看到該消息,盡管 Azure 門戶 -> 服務總線中沒有問題。 我懷疑配置或訪問限制。 由 ...
[英]How to delete and rename subscription filters that have already been created in the Azure Service Bus Namespace?
我使用 ARM 模板在 Azure 中創建了一個服務總線命名空間。 為此,我創建了多個主題和訂閱以及過濾器。 我試圖通過從 ARM 模板中刪除代碼來刪除少數過濾器。 但是,這些過濾器仍將存在於 Azure 門戶中。 並且還嘗試通過更改過濾器的名稱來重命名少數過濾器,但是無法更改名稱。 我想刪除幾個 ...
[英]Azure Service Bus : Failed to create a receiver for the requested session 'session-1'
我們已經設置了一個會話啟用 azure 服務總線主題。 本主題發送帶有 session 個 ID 的消息。 我們只有一個客戶在聽這個話題。 當我們想要創建一個帶有 sessionId 的接收器時(我們使用 Azure 服務總線 Javascript SDK),我們有這個錯誤: Failed to c ...
[英]Error HTTP 401 when trying to sent a message from Azure Data Factory to Service Bus
我試圖在我的 azure 環境中重現Hugh Woods實驗 ( https://medium.com/asos-techblog/sending-messages-from-azure-data-factory-to-service-bus-86d4be6dd357 ) 以從 Azure 發送消息 ...
[英]Function App consumes only 8 messages per minute from Service Bus with Sessions Enabled topic
我們有一個消費計划 Function 應用程序,它通過 ServiceBusTrigger(功能是 v4,.net 6)消費來自服務總線的消息。 盡管消息處理幾乎是瞬時的,但我們每分鍾僅消耗 8 條來自服務總線的消息。 我們已經向 Azure 提出了這個問題,他們提供了幫助,但我們也很困惑世界上其他 ...
[英]How to trigger an API call when a message is sent to Azure service bus topic?
我正在研究 Azure 服務總線主題。 按照文檔,創建了發件人和收件人代碼。 這是我的發件人代碼, 這段代碼工作正常,但我不想將一批虛擬數據發送到服務總線主題,而是想在這里實現我的用例。 我的用例是我將在反應前端應用程序中使用此發件人代碼,其中在表單提交結束時發生節點 API 調用。 因此,在表單 ...
[英]Receiving messages from Azure Service Bus between a time period
我想知道是否有可能僅在特定時間段內從服務總線接收消息。 我訂閱了一個主題(使我成為外部來源),該主題將在沒有任何時間表的情況下發送數據。 但是,從我這邊來說,我希望只能在特定時間段內收到它。 即,從 08:00 到 24:00。 這是為了避免將消息保存到數據庫中。 曾嘗試在網上尋找資料,但沒有找到我 ...
[英]Azure Service Bus Process Schedule Message before the schedule time
我有一個 API 將調用 Azure 主題來安排消息。 有沒有辦法在預定時間之前收到該消息? 例如,在我下面的代碼中,我安排了一條消息到 azure 主題,它將在 60 分鍾/1 小時后排隊。 有沒有辦法在 1 小時之前收到該消息? ...
[英]Suspend Service Bus sending message when debugging Azure Function
當我調試服務總線觸發器 Azure Function 時,斷點將再次命中相同服務總線消息的多次。 如果我單步執行代碼的時間過長,就會發生這種情況。 似乎服務總線會在幾分鍾后再次發送消息,因此 Function 應用程序將再次執行。 知道如何處理這個問題,以便我們可以高效地工作。 ...
[英]Send Messages from service bus topic to another as batches using IAsyncCollector in Azure Functions keeps retries even after message received
我有一個 azure function,它從服務總線主題接收消息並使用 IAsyncCollector 發送到另一個。 即使在另一個主題中收到消息后,它也不會從發件人主題中刪除並繼續重試。知道為什么會這樣。 還想獲得一些使用 IAsyncCollector 的示例。 或者在azure functio ...
[英]Version for "Microsoft.Azure.ServiceBus" to support MSAL?
“Microsoft.Azure.ServiceBus”支持 MSAL 的版本是什么? 我可以看到它仍在內部使用“Microsoft.Azure.Services.AppAuthentication” ...
[英]Using a Node js Azure function to send custom properties on a message to a service bus topic
我正在使用 Nodejs Azure function 將消息發送到服務總線主題。 我想對該消息使用自定義屬性來過濾允許哪些訂閱處理消息。 這就是我的 Azure function 代碼的樣子。 綁定 { "bindings": [ { "type": "serviceBus", "directio ...
[英]Azure Service Bus - Is EnableCrossEntityTransactions necessary for forwarding messages within subscriptions under the same topic?
我已經閱讀了我能找到的所有文檔,但我仍然不清楚這個案例。 當我收到來自訂閱 A 的消息,然后使用事務完成消息並向同一主題(但向不同的訂閱)發送新消息時,是否需要使用 EnableCrossEntityTransactions 配置服務總線客戶端? 流程: 從訂閱 A 接收消息 M1(主題 T1) ...
[英]How to get the correct instance from IServiceProvider
我正在嘗試處理 Azure.Messaging.SericeBus 中的一些訂閱。 文檔建議我應該為 DI 注冊我的ServiceBusClient 、 ServiceBusSender和ServiceBusProcessor 。 對於后者,這意味着我需要為每個訂閱一個實例,所以我有這樣的東西... ...
[英]how to add custom properties or label/subject for azure servicebus topic messages when using apache camel?
我可以使用 apache 駱駝使用此處的示例https://camel.apache.org/components/3.18.x/azure-servicebus-component.html#_azure_servicebus_producer_operations將消息發送到 azure 服務 ...
[英]It it possible to use Managed Identities to access to a queue or topic similar to what I can do with SAS?
根據以下文章,我了解到我可以創建 SAS 策略以安全訪問特定服務總線隊列或主題。 https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-sas#shared-access-authorization-p ...
[英]How to authenticate\authorize a console application running on-prem to use Azure service bus using Azure AD
我有一個在本地運行的基於 .net 核心的控制台應用程序。 我能夠使用共享訪問簽名(連接字符串)將此應用程序與 Azure 服務總線連接起來。 現在我想使用 Azure AD 來驗證和授權我的應用程序。 我點擊了以下鏈接: https://learn.microsoft.com/en-us/azur ...
[英]Azure service bus read all messages at once using Azure.Messaging.ServiceBus
我正在使用Azure.Messaging.ServiceBus nuget ZEFE90A8E604A7C840E88D03A67F6B7ZD8Z 與 Z3A3F7580F142029836 總線一起工作。 我們創建了一個主題和一個訂閱。 訂閱有 100 多條消息。 我們希望閱讀所有消息並在消息到達 ...