Umbrella: inventory deprecated API and remove what is marked for removal

オープン
#8,994 コメント 9 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Mohit20057 がすでに取り組んでいます。

2026年10月18日 から。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
活発
技術スタック
java

調査の方向性

まず、storm-client モジュールと storm-server モジュール全体の @Deprecated 要素を列挙し、各要素についてモジュール、since 値、置き換え先、および public API であるかどうかを記録します。列挙されている Config、IStormClusterState、BlowfishTupleSerializer、DaemonConfig の箇所を確認し、その後、独立してレビュー可能な作業にはリンクされたサブタスクを使用します。各エントリについて削除または保持の判断があり、該当するテストと設定が更新され、削除項目がリリースノートとアップグレードガイドに記載されれば完了です。

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

説明

enhancement

Summary

Umbrella issue to inventory the deprecated API surface still shipped by Storm, and to remove what is already marked for removal.

At 3.0.1-SNAPSHOT the codebase carries 92 @Deprecated annotations, 10 of which declare forRemoval = true. Seven of those were flagged since = "2.0.0" and have therefore survived a full major boundary, so the removal window they announced has already passed. Deprecated-but-alive code keeps dead configuration keys discoverable, forces callers to guess which of two paths is current, and quietly grows the surface every release.

Current forRemoval sites

Location since
storm-client/.../Config.java:138, :1619, :1650 2.0.0
storm-client/.../cluster/IStormClusterState.java:156, :184, :191, :198, :205 2.0.0
storm-client/.../security/serialization/BlowfishTupleSerializer.java:37 2.8.6
storm-server/.../DaemonConfig.java:287 3.1.0

Scope

  1. Inventory — enumerate every @Deprecated element, recording module, since, declared replacement, and whether it is public API.
  2. Classify — for each entry, one of: remove now, keep and set forRemoval with a target version, or undeprecate because it is still the supported path.
  3. Remove — drop the entries whose window has closed, together with their tests, documentation, and default configuration entries.
  4. Document — record every removal in the release notes and the upgrade guide.

Guidelines

  • Removals ship in 3.x releases; each one is documented under ## Upgrade notes in its PR.
  • Every surviving @Deprecated element carries both since and a forRemoval decision, and names its replacement in Javadoc.
  • One sub-task per module or coherent group, each independently reviewable and revertable.
  • Configuration keys are removed from defaults.yaml and validation in the same change that removes the constant.

Sub-tasks

  • Publish the full deprecation inventory in this issue
  • Classify every surviving @Deprecated element: since and forRemoval on all 103 (#9172, #9173, #9266)
  • Remove the expired items: BlowfishTupleSerializer, ZooKeeper backpressure methods, obsolete Config and DaemonConfig keys (#9167–#9170)
  • Mark the Pacemaker subsystem forRemoval (#9171)
  • Release notes: each removal has an ## Upgrade notes section in its PR
  • Remove the forRemoval = true APIs, storm-client (54)
  • Remove the forRemoval = true APIs, storm-server (19)
  • Remove the forRemoval = true APIs, external/storm-hdfs (12)
  • Remove the forRemoval = true APIs, flux/flux-core (4)
  • Decide on the OpenRewrite "Find Deprecated Uses" action
主要言語
Java
スター
6.7k
フォーク
4k
平均マージ
1日 5時間
マージ済み PR(30日)
86

環境構築

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

はじめの一歩

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

apache/storm のほかの issue

apache/storm の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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