You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Onur Karaman (JIRA)" <ji...@apache.org> on 2015/04/10 08:41:12 UTC

[jira] [Commented] (KAFKA-2044) Support requests and responses from o.a.k.common in KafkaApis

    [ https://issues.apache.org/jira/browse/KAFKA-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489042#comment-14489042 ] 

Onur Karaman commented on KAFKA-2044:
-------------------------------------

I don't have much context on this. Was the removal of HeartbeatRequestAndHeader, HeartbeatResponseAndHeader, JoinGroupRequestAndHeader, JoinGroupResponseAndHeader, and the entries in RequestKeys' keyToNameAndDeserializerMap for JoinGroupKey and HeartbeatKey intentional?

I had just completed testing the ConsumerCoordinator on an out of date repo. I pulled, merged in all my work, and now broker logs are reporting:
{code}
[2015-04-10 06:08:12,630] ERROR Closing socket for /192.168.50.101 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:515)
	at kafka.network.Processor.run(SocketServer.scala:380)
	at java.lang.Thread.run(Thread.java:745)
[2015-04-10 06:08:12,659] ERROR Closing socket for /192.168.50.101 because of error (kafka.network.Processor)
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:515)
	at kafka.network.Processor.run(SocketServer.scala:380)
	at java.lang.Thread.run(Thread.java:745)
{code}

> Support requests and responses from o.a.k.common in KafkaApis
> -------------------------------------------------------------
>
>                 Key: KAFKA-2044
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2044
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Gwen Shapira
>            Assignee: Gwen Shapira
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-2044.patch, KAFKA-2044_2015-03-25_16:48:01.patch, KAFKA-2044_2015-03-25_16:48:49.patch, KAFKA-2044_2015-03-25_16:53:05.patch, KAFKA-2044_2015-03-25_18:49:24.patch, KAFKA-2044_2015-03-25_19:20:16.patch, KAFKA-2044_2015-03-27_09:22:28.patch
>
>
> As groundwork for KIP-4 and for KAFKA-1927, we'll add some plumbing to support handling of requests and responses from o.a.k.common in KafkaApis.
> This will allow us to add new Api calls just in o.a.k.conmon and to gradually migrate existing requests and responses.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)