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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1
    • None
    • core
    • 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

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

            Dates

              Created:
              Updated: