org.apache.kafka.common.KafkaException: Error creating mbean attribute for metricName :MetricName [name=throttle-time, group=Produce, description=Tracking average throttle-time per client, tags={client-id=something:12345}]

GitHub | hyperlink | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Add validation to client id and group id

    GitHub | 10 months ago | hyperlink
    org.apache.kafka.common.KafkaException: Error creating mbean attribute for metricName :MetricName [name=throttle-time, group=Produce, description=Tracking average throttle-time per client, tags={client-id=something:12345}]
  2. 0

    ManagementService.destroy fails to find HazelcastMBean on shutdown

    GitHub | 4 years ago | MrEasy
    javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
  3. 0

    poolName which contains ":" causes MalformedObjectNameException

    GitHub | 2 years ago | hrchu
    javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 498#128746468

    GitHub | 2 years ago | JSAhuja
    javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
  6. 0

    [jira] [Commented] (KAFKA-1481) Stop using dashes AND underscores as separators in MBean names

    apache.org | 2 years ago
    javax.management.MalformedObjectNameException: Invalid character ':' in value part of property

  1. Handemelindo 1 times, last 5 months ago
  2. Andreas Häber 4 times, last 11 months ago
9 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.management.MalformedObjectNameException

    Invalid character ':' in value part of property

    at javax.management.ObjectName.construct()
  2. Java RT
    ObjectName.<init>
    1. javax.management.ObjectName.construct(ObjectName.java:618)
    2. javax.management.ObjectName.<init>(ObjectName.java:1382)
    2 frames
  3. Apache Kafka
    Sensor.add
    1. org.apache.kafka.common.metrics.JmxReporter$KafkaMbean.<init>(JmxReporter.java:169)
    2. org.apache.kafka.common.metrics.JmxReporter.addAttribute(JmxReporter.java:108)
    3. org.apache.kafka.common.metrics.JmxReporter.addAttribute(JmxReporter.java:113)
    4. org.apache.kafka.common.metrics.JmxReporter.metricChange(JmxReporter.java:76)
    5. org.apache.kafka.common.metrics.Metrics.registerMetric(Metrics.java:288)
    6. org.apache.kafka.common.metrics.Sensor.add(Sensor.java:162)
    6 frames
  4. Apache Kafka
    KafkaRequestHandler.run
    1. kafka.server.ClientQuotaManager.getOrCreateQuotaSensors(ClientQuotaManager.scala:209)
    2. kafka.server.ClientQuotaManager.recordAndMaybeThrottle(ClientQuotaManager.scala:111)
    3. kafka.server.KafkaApis$$anonfun$handleProducerRequest$1.apply(KafkaApis.scala:370)
    4. kafka.server.KafkaApis$$anonfun$handleProducerRequest$1.apply(KafkaApis.scala:370)
    5. kafka.server.ReplicaManager.appendMessages(ReplicaManager.scala:348)
    6. kafka.server.KafkaApis.handleProducerRequest(KafkaApis.scala:365)
    7. kafka.server.KafkaApis.handle(KafkaApis.scala:68)
    8. kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:60)
    8 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame