You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2014/02/07 05:25:19 UTC
[jira] [Updated] (KAFKA-1241) Cryptic serde error messages in new
producer
[ https://issues.apache.org/jira/browse/KAFKA-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Kreps updated KAFKA-1241:
-----------------------------
Attachment: KAFKA-1241.patch
> Cryptic serde error messages in new producer
> --------------------------------------------
>
> Key: KAFKA-1241
> URL: https://issues.apache.org/jira/browse/KAFKA-1241
> Project: Kafka
> Issue Type: Bug
> Components: producer
> Affects Versions: 0.9.0
> Reporter: Neha Narkhede
> Assignee: Jay Kreps
> Priority: Critical
> Attachments: KAFKA-1241.patch
>
>
> One of the motivations for the new serde format is better error reporting. I was running a test on the new mirror maker when I saw this exception -
> java.nio.BufferUnderflowException
> at java.nio.Buffer.nextGetIndex(Buffer.java:480)
> at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:336)
> at kafka.common.protocol.types.Type$3.read(Type.java:88)
> at kafka.common.protocol.types.Schema.read(Schema.java:50)
> at kafka.common.protocol.types.ArrayOf.read(ArrayOf.java:30)
> at kafka.common.protocol.types.Schema.read(Schema.java:50)
> at kafka.common.protocol.types.ArrayOf.read(ArrayOf.java:30)
> at kafka.common.protocol.types.Schema.read(Schema.java:50)
> at kafka.clients.producer.internals.Sender.handleResponses(Sender.java:273)
> at kafka.clients.producer.internals.Sender.run(Sender.java:144)
> at kafka.clients.producer.internals.Sender.run(Sender.java:84)
> at java.lang.Thread.run(Thread.java:619)
> I was expecting to see a precise error message about the Request type that serde failed for. Instead it says Type$3 and no information on which field.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)