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

Aperta
#8,994 9 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Mohit20057 ci sta già lavorando.

Dal 18/10/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Iniziare enumerando gli elementi @Deprecated nei moduli storm-client e storm-server, registrando per ogni elemento il modulo, il valore since, la sostituzione e lo stato di API pubblica. Esaminare i siti indicati di Config, IStormClusterState, BlowfishTupleSerializer e DaemonConfig, quindi usare le sotto-attività collegate per un lavoro verificabile in modo indipendente. Il lavoro è completato quando ogni voce ha una decisione di rimozione o mantenimento, i test e la configurazione applicabili sono stati aggiornati e le rimozioni compaiono nelle note di rilascio e nella guida all’aggiornamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Java
Stelle
6.7k
Fork
4k
Merge medio
1g 5h
PR unite (30g)
86

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/storm

Tutte le issue di apache/storm

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.