problem description
kafka producer reports an error
the environmental background of the problems and what methods you have tried
the same code, many computers are good. Only one station reported an error
2019-01-24 1515 DEBUG 55.811 DEBUG 448-[kafka-producer-network-thread | producer-1] o.apache.kafka.common.network.Selector: [Producer clientId=producer-1] Connection with / disconnected
java.io.IOException: the remote host forcibly closes an existing connection.
at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[na:1.8.0_51]
at sun.nio.ch.SocketDispatcher.read(Unknown Source) ~[na:1.8.0_51]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) ~[na:1.8.0_51]
at sun.nio.ch.IOUtil.read(Unknown Source) ~[na:1.8.0_51]
at sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[na:1.8.0_51]
at org.apache.kafka.common.network.PlaintextTransportLayer.read(PlaintextTransportLayer.java:104) ~[kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:94) ~[kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:335) ~[kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:296) ~[kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:562) [kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:498) [kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.common.network.Selector.poll(Selector.java:427) [kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:510) [kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:239) [kafka-clients-2.0.1.jar!/:na]
at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:163) [kafka-clients-2.0.1.jar!/:na]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_51]
many of the following are repeated error reports