Class DeprecationReporter

java.lang.Object
io.aiven.commons.kafka.config.DeprecationReporter

public class DeprecationReporter extends Object
Reports on deprecated configuration usage.
  • Method Details

    • report

      public static List<String> report(org.apache.kafka.common.config.AbstractConfig config, org.apache.kafka.common.config.ConfigDef configDef)
      Generates a list of deprecation notices for deprecated items that have non-default values.
      Parameters:
      config - The configuration class.
      configDef - the definition for the class.
      Returns:
      a list of deprecation notices for deprecated items that have non-default values.