Class ProducerConfig

java.lang.Object
org.apache.kafka.common.config.AbstractConfig
org.apache.kafka.clients.producer.ProducerConfig

public class ProducerConfig extends AbstractConfig
Configuration for the Kafka Producer. Documentation for these configurations can be found in the Kafka documentation
  • Field Details

  • Constructor Details

  • Method Details

    • postProcessParsedConfig

      protected Map<String,Object> postProcessParsedConfig(Map<String,Object> parsedValues)
      Description copied from class: AbstractConfig
      Called directly after user configs got parsed (and thus default values got set). This allows to change default values for "secondary defaults" if required.
      Overrides:
      postProcessParsedConfig in class AbstractConfig
      Parameters:
      parsedValues - unmodifiable map of current configuration
      Returns:
      a map of updates that should be applied to the configuration (will be validated to prevent bad updates)
    • configNames

      public static Set<String> configNames()
    • configDef

      public static ConfigDef configDef()
    • main

      public static void main(String[] args)