Skip to content

Classify surviving deprecated storm-client APIs with forRemoval decisions (#8994) - #9172

Open
Mohit20057 wants to merge 1 commit into
apache:masterfrom
Mohit20057:classify-client-deprecated-apis
Open

Mohit20057 wants to merge 1 commit into
apache:masterfrom
Mohit20057:classify-client-deprecated-apis

Conversation

@Mohit20057

Copy link
Copy Markdown

What is the purpose of the change

Sub-task of umbrella issue #8994.
Classifies surviving @Deprecated APIs, configurations, and utilities in storm-client by upgrading plain @Deprecated annotations to include explicit since = "..." versions and forRemoval decisions, and adds @deprecated Javadoc tags pointing to supported replacements. Configuration Config.TOPOLOGY_SPREAD_COMPONENTS, core interfaces/utilities (TimeCacheMap, IKryoDecorator, ILocalCluster, ILocalDRPC, IContext, INimbusCredentialPlugin), legacy Metrics V1 classes (CGroupMetricsBase and 5 subclasses, IMetricsContext, TopologyContext), and client constructors/factories (NimbusClient, SupervisorClient) are formally marked forRemoval = true. TransactionAttempt and Time.currentTimeSecs() / Time.deltaSecs() are marked forRemoval = false to preserve Kryo registration order and short relative duration use cases.

How was this tested

  • Built and compiled storm-client with JDK 23
  • Passed ConfigUtilsTest (25/25 tests passed)
  • Passed TestConfigValidate (38/38 tests passed)
  • Passed TimeTest (8/8 tests passed)
  • Passed SerializationFactoryTest (5/5 tests passed)
  • Checkstyle passed with 0 violations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant