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}]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by hyperlink
, 1 year ago
Error creating mbean attribute for metricName :MetricName [name=throttle-time, group=Produce, description=Tracking average throttle-time per client, tags={client-id=something:12345}]
via GitHub by nfazekas
, 4 months ago
Error creating mbean attribute for metricName :MetricName [name=request-time, group=Request, description=Tracking request-time per user/client-id, tags={client-id=localhost:9092, user=}]
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
at javax.management.ObjectName.construct(ObjectName.java:618)
at javax.management.ObjectName.(ObjectName.java:1382)
at org.apache.kafka.common.metrics.JmxReporter$KafkaMbean.(JmxReporter.java:169)
at org.apache.kafka.common.metrics.JmxReporter.addAttribute(JmxReporter.java:108)
at org.apache.kafka.common.metrics.JmxReporter.addAttribute(JmxReporter.java:113)
at org.apache.kafka.common.metrics.JmxReporter.metricChange(JmxReporter.java:76)
at org.apache.kafka.common.metrics.Metrics.registerMetric(Metrics.java:288)
at kafka.server.ClientQuotaManager.getOrCreateQuotaSensors(ClientQuotaManager.scala:209)
at kafka.server.ClientQuotaManager.recordAndMaybeThrottle(ClientQuotaManager.scala:111)
at kafka.server.KafkaApis$$anonfun$handleProducerRequest$1.apply(KafkaApis.scala:370)
at kafka.server.KafkaApis$$anonfun$handleProducerRequest$1.apply(KafkaApis.scala:370)
at kafka.server.ReplicaManager.appendMessages(ReplicaManager.scala:348)
at kafka.server.KafkaApis.handleProducerRequest(KafkaApis.scala:365)
at kafka.server.KafkaApis.handle(KafkaApis.scala:68)
at kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:60)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 month ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.