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

java.awt.headless should not be on commandline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.0.0
    • None
    • core
    • None

    Description

      The option -Djava.awt.headless=true is defined in KAFKA_JVM_PERFORMANCE_OPTS.

      But it should even not be present on command line. It's only useful for application that can be used in application that is used in both a headless and a traditional environment. Kafka is a server, so it should be setup in the main class. This help reduce clutter in command line.

      See http://www.oracle.com/technetwork/articles/javase/headless-136834.html for more details.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fbacchella Fabrice Bacchella
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: