[ 
https://issues.apache.org/jira/browse/KAFKA-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay Kreps resolved KAFKA-1256.
------------------------------

    Resolution: Fixed

This was resolved so that the schema error always refers to the field that was 
wrong.

> Improve error reporting in the Sender for request types
> -------------------------------------------------------
>
>                 Key: KAFKA-1256
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1256
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: producer 
>    Affects Versions: 0.9.0
>            Reporter: Neha Narkhede
>            Priority: Critical
>
> I ran a test using the new mirror maker to copy one large topic and ran into 
> the following error in the producer -
> java.lang.IllegalStateException: Attempt to begin a send operation with prior 
> send operation still in progress.
>         at org.apache.kafka.common.network.Selector.poll(Selector.java:188)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:151)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> org.apache.kafka.common.protocol.types.SchemaException: 
> org.apache.kafka.common.protocol.types.SchemaException
>         at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:69)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.handleResponses(Sender.java:288)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:158)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> org.apache.kafka.common.protocol.types.SchemaException: 
> org.apache.kafka.common.protocol.types.SchemaException
>         at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:69)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.handleResponses(Sender.java:288)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:158)
>         at 
> org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:98)
>         at java.lang.Thread.run(Thread.java:619)
> It is unclear from just SchemaException what type it is complaining about



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to