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

Console tools should fail fast if an unrecognised --property is passed in

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • clients, consumer, producer

    Description

      Some people don't realise that the --property for the console producer and consumer, is for passing options to the formatter, not the actual producer or consumer.

      If someone that doesn't know this, passes a property intending it to be a consumer or producer property, they are passed to the formatter, but if it's not a recognised option for the formatter, it fails silently and the user is wondering what happened to their intended setting.

      The console tools otherwise fail on unrecognised arguments, it would be great if the default formatter also failed with warning of the unrecognised option.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              astubbs Antony Stubbs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: