Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5096

Only log invalid user configs and overwrite with correct one

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • streams

    Description

      Streams does not allow to overwrite some config parameters (eg, enable.auto.commit) Currently, we throw an exception, but this is actually not required, as Streams can just ignore/overwrite the user provided value.

      Thus, instead of throwing, we should just log a WARN message and overwrite the config with the values that suits Streams. (atm it's only one parameter enable.auto.commit), but with exactly-once it's going to be more (cf. KAFKA-4923). Thus, the scope of this ticket depends when it will be implemented (ie, before or after KAFKA-4923).

      This ticket should also include JavaDoc updates that explain what parameters cannot be specified by the user.

      Attachments

        Issue Links

          Activity

            People

              johnma Mariam John
              mjsax Matthias J. Sax
              Matthias J. Sax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: