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

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.0
    • Fix Version/s: 1.0.0
    • Component/s: consumer
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: