Hello Ahmed, Currently we only have 10 total Kafka request types, including produce request, fetch request and topic metadata request. And these requests are encoded with a key, currently ranging from 0 to 9. When Kafka server receives a request with key it cannot recognize, that exception will be thrown.
I am curious how a request with key 768 can be generated. Could you describe the process to reproduce it? Guozhang On Mon, Nov 4, 2013 at 2:08 PM, Ahmed H. <ahmed.ham...@gmail.com> wrote: > Hello All, > > I am getting this error and I am not sure what that means. Specifically the > "Wrong request type 768" > > [2013-11-04 16:56:47,540] ERROR Closing socket for /0:0:0:0:0:0:0:1 because > of error (kafka.network.Processor) > kafka.common.KafkaException: Wrong request type 768 > at kafka.api.RequestKeys$.deserializerForKey(RequestKeys.scala:53) > at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:49) > at kafka.network.Processor.read(SocketServer.scala:345) > at kafka.network.Processor.run(SocketServer.scala:245) > at java.lang.Thread.run(Thread.java:724) > > Is there any place I can look up such information, or does anyone know what > the 768 means? > > Cheers > -- -- Guozhang