infer schema strategy attaches a schema to a raw before/after part

オープン
#191 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
backend

調査の方向性

Read the processor middleware’s infer and extend schema encoding paths, then inspect the regression test added for the related extend behavior in issue #190. Decide whether infer should fail closed or retain its current behavior with documentation, following the deprecation policy. Done means the chosen behavior is covered by a regression test, or the limitation is documented.

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

説明

The default (infer) schema encode strategy in the processor middleware attaches a schema to a record whose before or after part is still non-empty raw data, without encoding or rejecting that part. A consumer that decodes the raw part with the attached schema either fails or, when fields were removed, can decode the old bytes into shifted values.

The opt-in extend strategy now fails closed in this case (#190). infer keeps its current behaviour because changing it changes the default output.

To decide: fail closed in infer too (a behaviour change for existing processors, announce and warn first per the deprecation policy), or keep infer as is and document the limitation. A fix ships with a regression test that fails without it.

主要言語
Go
スター
1
フォーク
1
平均マージ
11分
マージ済み PR(30日)
5

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ConduitIO/conduit-processor-sdk のほかの issue

ConduitIO/conduit-processor-sdk の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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