Gwen Shapira created KAFKA-2115:
-----------------------------------
Summary: Error updating metrics in RequestChannel
Key: KAFKA-2115
URL: https://issues.apache.org/jira/browse/KAFKA-2115
Project: Kafka
Issue Type: Bug
Reporter: Gwen Shapira
Assignee: Gwen Shapira
Reported by [~jkreps] on the mailing list:
```
kafka.common.KafkaException: Wrong request type 12
at kafka.api.RequestKeys$.nameForKey(RequestKeys.scala:55)
at
kafka.network.RequestChannel$Request.updateRequestMetrics(RequestChannel.scala:85)
at kafka.network.Processor.write(SocketServer.scala:514)
at kafka.network.Processor.run(SocketServer.scala:379)
at java.lang.Thread.run(Thread.java:744)
[2015-04-12 12:54:52,077] INFO [Kafka Coordinator 0]: Registered consumer
my-group-24 for group my-group (kafka.coordinator.ConsumerCoordinator)
[2015-04-12 12:54:52,080] INFO [Kafka Coordinator 0]: Handled join-group
from consumer to group my-group (kafka.coordinator.ConsumerCoordinator)
[2015-04-12 12:54:52,081] ERROR Closing socket for /10.0.0.220 because of
error (kafka.network.Processor)
kafka.common.KafkaException: Wrong request type 11
at kafka.api.RequestKeys$.nameForKey(RequestKeys.scala:55)
at
kafka.network.RequestChannel$Request.updateRequestMetrics(RequestChannel.scala:85)
at kafka.network.Processor.write(SocketServer.scala:514)
at kafka.network.Processor.run(SocketServer.scala:379)
at java.lang.Thread.run(Thread.java:744)
```
This a result of KAFKA-2044 - we moved few Requests out
of RequestKeys to the newer ApiKeys, but didn't update the metrics
code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)