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

Evaluation of kafka_mx4jenable is inverted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.10.2.0
    • None
    • core, metrics
    • None
    • Patch

    Description

      Mx4j stopped working for me after upgrade from 0.8.2 -> 0.10.2.0

      I had the "-Dkafka_mx4jenable=true" flag set in a custom start script, which however now actually prevents MX4J from being loaded in 0.10.2.0

      The flag is only taken into account since the patch from KAFKA-2002 it seems to me - we should however skip trying to load MX4J if the flag is set to false, rather than if it's set to true (as it's currently done).

      Trivial patch attached, check should be negated.

      Attachments

        1. mx4j-enable.patch
          0.6 kB
          Ralph Weires

        Issue Links

          Activity

            People

              Unassigned Unassigned
              r.weires Ralph Weires
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: