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

Duplicate error handling in kafka-server-start.sh and actual Kafka class

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      There is some duplication of error handling for command line parameters that are passed into kafka-server-start.sh

       

      The shell script prints an error, if no arguments are passed in, effectively causing the same check in Kafka to never be triggered, unless the only option that is specified is -daemon, which would be removed before passing arguments to the java class.

       

      While not in any way critical I don't think that this is intended behavior. I think we should remove the extra check in kafka-server-start.sh and leave argument handling up to the Kafka class.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: