Kafka
  1. Kafka
  2. KAFKA-1239 New producer checklist
  3. KAFKA-1256

Improve error reporting in the Sender for request types

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Component/s: producer
    • Labels:
      None

      Description

      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

        Activity

        Neha Narkhede created issue -
        Jay Kreps made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Neha Narkhede
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development