Add method to get the schema (version) used for serialization of a message
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, nodejs
調査の方向性
Pulsar のスキーマ概要とリンクされている node-client の issue から始め、スキーマのバージョンがメッセージにどのように付加されるか、また Node クライアントがそれらを公開しているかを確認します。シリアライズスキーマまたはバージョンを取得するために必要な API を定義し、その API がスキーマの進化にわたって信頼性の高い Avro デシリアライズをサポートすることを確認します。
索引モデルが issue の本文から書いたものです。
説明
There are client libraries for other languages (e.g. java) that support automatic (de)serialization of message data based on a schema (https://pulsar.apache.org/docs/3.1.x/schema-overview/).
The node client does not have this feature yet (https://github.com/apache/pulsar-client-node/issues/242).
In theory it should be possible to deserialize the message data manually, BUT...
Some serialization formats like Avro require to know the exact schema that was used for serialization (https://github.com/mtth/avsc/issues/447). In order to deal with schema evolution the client needs to know it's own compatible schema AND the schema used for serialization.
As far I understand, the automatic (de)serialization feature of Pulsar solves this problem by keeping a schema registry and tagging the messages with the used schema version.
If I understand right, the node client does not provide a method to get the schema used for serialization and not even a method to get the schema version of a message.
Assuming the need for schema evolution, this makes it impossible to deserialize reliably messages written by a java client library using an Avro schema,
I'm new to Pulsar and Avro, so please forgive (and correct) me if my understanding is wrong.
If my understanding is right, I wonder how difficult it would be to add a method to lookup the serialization schema on an message.
- 主要言語
- C++
- スター
- 164
- フォーク
- 99
- 平均マージ
- 5日 18時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/pulsar-client-node のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
apache/pulsar-client-node#477 ·
-
公司网络无法访问海外站点,如何解决? オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
apache/pulsar-client-node#455 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
apache/pulsar-client-node#432 · リアクション 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
apache/pulsar-client-node#431 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
apache/pulsar-client-node#429 · コメント 1 件 ·
apache/pulsar-client-node の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
ros2/message_filters#338 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
subsurface/subsurface#4984 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·