Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

the risk of misues

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

Public Interfaces

...

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

Compatibility, Deprecation, and Migration Plan

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

These variable will be modified, these only used in `StreamsConfig` or use in the same package `org.apache.kafka.streams``TopologyConfig`.

  • `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`
  • `BUFFERED_RECORDS_PER_PARTITION_DOC`
  • `CACHE_MAX_BYTES_BUFFERING_DOC`
  • `DEFAULT_DESERIALIZATION_EXCEPTION_HANDLER_CLASS_DOC`
  • `DEFAULT_DSL_STORE_DOC`
  • `DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_DOC`
  • `MAX_TASK_IDLE_MS_DOC`
  • `STATESTORE_CACHE_MAX_BYTES_DOC`
  • `TASK_TIMEOUT_MS_DOC`

...