You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Status

Current state: "Under Discussion"

Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]

JIRA: here [ KAFKA-17427 - Getting issue details... STATUS ]

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

Some config's doc description is public in `StreamsConfig`, but it only use in the `StreamConfig` class. The overly large scope of these variables can cause development issues.

We should deprecate the public ones to allow us making them private in a future release.

Public Interfaces

  • `org.apache.kafka.streams.StreamsConfig`

Proposed Changes

We proposed to deprecate some doc description variable, and make it from public to private.

Compatibility, Deprecation, and Migration Plan

  1. We will add a deprecated annotation on those only used in `StreamsConfig` doc variables
  2. Make these variables to private at the next major release

These variable will be modified, these only used in `StreamsConfig`

  • `DEFAULT_CLIENT_SUPPLIER_DOC`
  • `ENABLE_METRICS_PUSH_DOC`
  • `PROCESSING_EXCEPTION_HANDLER_CLASS_DOC`
  • `RACK_AWARE_ASSIGNMENT_NON_OVERLAP_COST_DOC`
  • `RACK_AWARE_ASSIGNMENT_STRATEGY_DOC`
  • `RACK_AWARE_ASSIGNMENT_TRAFFIC_COST_DOC`

Test Plan

n/a

Rejected Alternatives

n/a

  • No labels