Azure / Azure/azure-functions-java-library

ServiceBusTopicOutput - how to set sessionId to a message

オープン
#197 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:java-functions
主要言語
Java
スター
45
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

We have been using ServiceBusTopicOutput annotation to get our Azure Function to send messages to a Service Bus queue. This has been working fine. But now a different use case, our output queue needs to be "session enabled".

With the same code as earlier, we are getting this error

_The SessionId was not set on a message, and it cannot be sent to the entity.
Entities that have session support enabled can only receive messages that have the SessionId set to a valid value._

What additional config do we need for ServiceBusTopicOutput in order to send messages with a sessionId ?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、ServiceBusTopicOutput アノテーションと、それが表す Azure Functions Java の output-binding 構成を調べます。セッション対応の Service Bus エンティティに送信されるメッセージについて、binding が sessionId 設定を公開しているか確認します。対応している構成を特定して文書化するか、その機能が不足していることを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, java
領域
cloud
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。