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

Console Consumer overrides auto.offset.reset property when provided on the command line without warning about it.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.11.0.0
    • 1.0.0
    • consumer
    • None

    Description

      The console consumer allows to specify consumer options on the command line with the --consumer-property parameter.

      In the case of auto.offset.reset this parameter will always silently be ignored though, because this behavior is controlled via the --from-beginning parameter.
      I believe that behavior to be fine, however we should log a warning in case auto.offset.reset is specified on the command line and overridden to something else in the code to avoid potential confusion.

      Attachments

        Issue Links

          Activity

            People

              sliebau Sönke Liebau
              sliebau Sönke Liebau
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: