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

change default JVM options in kafka-run-class.sh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • config
    • None

    Description

      Since we have stopped supporting java 6, we should improve the default jvm options. For example, we should probably change the following to G1 collectors.

      if [ -z "$KAFKA_JVM_PERFORMANCE_OPTS" ]; then
      KAFKA_JVM_PERFORMANCE_OPTS="-server -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:+DisableExplicitGC -Djava.awt.headless=true"
      fi

      Attachments

        Issue Links

          Activity

            People

              omkreddy Manikumar
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: