Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1239 New producer checklist
  3. KAFKA-1256

Improve error reporting in the Sender for request types

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.10.1.0
    • None
    • producer
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: