Missing fields in CloudEvent deserialisation
- 主要言語
- Java
- スター
- 300
- フォーク
- 230
- 平均マージ
- 5日 1時間
- マージ済み PR(30日)
- 5
説明
Raising this on behalf of a colleague who is on vacation
---
I have started using DAPR pub/sub and am creating a Subscription in a Springboot application, so I am using the JAVA sdk.
The subscriber receives the messages correctly, but I noticed that the CloudEvent class, used to deserialize the incoming event, is missing these fields `tracid`,`traceparent`,`tracestate`,`topic`,`pubsubname`.
I'm using these libraries
implementation 'io.dapr:dapr-sdk:1.5.0'
implementation 'io.dapr:dapr-sdk-actors:1.5.0'
implementation 'io.dapr:dapr-sdk-springboot:1.5.0'
I know that the last version is 1.6.0, but from the javadoc I saw that the CloudEvent class of that version miss the fields too.
cc @fvitolo
コントリビューションガイド
調査の方向性
Java SDK の CloudEvent クラスと、Dapr の pub/sub サブスクリプションで使用されるデシリアライズのエントリーポイントを特定します。ドキュメント化されている CloudEvent フィールドと現在設定されているフィールドを比較し、受信イベントをデシリアライズした後に tracid、traceparent、tracestate、topic、pubsubname が利用可能であることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, spring-boot
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100