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

Only log invalid user configs and overwrite with correct one

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment