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

IllegalFormatConversionException from kafka-consumer-perf-test.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • tools
    • None

    Description

      Exception in thread "main" java.util.IllegalFormatConversionException: f != java.lang.Integer
      at java.base/java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4426)
      at java.base/java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2951)
      at java.base/java.util.Formatter$FormatSpecifier.print(Formatter.java:2898)
      at java.base/java.util.Formatter.format(Formatter.java:2673)
      at java.base/java.util.Formatter.format(Formatter.java:2609)
      at java.base/java.lang.String.format(String.java:2897)
      at scala.collection.immutable.StringLike.format(StringLike.scala:354)
      at scala.collection.immutable.StringLike.format$(StringLike.scala:353)
      at scala.collection.immutable.StringOps.format(StringOps.scala:33)
      at kafka.utils.ToolsUtils$.$anonfun$printMetrics$3(ToolsUtils.scala:60)
      at kafka.utils.ToolsUtils$.$anonfun$printMetrics$3$adapted(ToolsUtils.scala:58)
      at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
      at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
      at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
      at kafka.utils.ToolsUtils$.printMetrics(ToolsUtils.scala:58)
      at kafka.tools.ConsumerPerformance$.main(ConsumerPerformance.scala:82)
      at kafka.tools.ConsumerPerformance.main(ConsumerPerformance.scala)

      Attachments

        Issue Links

          Activity

            People

              tombentley Tom Bentley
              tombentley Tom Bentley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: