Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1542

normal IOException in the new producer is logged as ERROR

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:

      Description

      Saw the following error in the log. It seems this can happen if the broker is down. So, this probably should be logged as WARN, instead ERROR.

      2014/07/16 00:12:51.799 [Selector] Error in I/O:
      java.io.IOException: Connection timed out
      at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
      at sun.nio.ch.IOUtil.read(IOUtil.java:197)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
      at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:60)
      at org.apache.kafka.common.network.Selector.poll(Selector.java:241)
      at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:171)
      at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:174)
      at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:114)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Activity

            People

            • Assignee:
              heavydawson David Corley
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: