在nifi mqtt发布中,我丢失了连接连接丢失(32109)-java.io.EOFException异常

时间:2019-07-04 07:27:06

标签: mqtt apache-nifi

在nifi中,我正在将数据发布到mqtt,并且遇到以下异常。

2019-07-04 11:55:17,339 ERROR [MQTT Rec: ${rand}] o.a.nifi.processors.mqtt.PublishMQTT PublishMQTT[id=bb9dfb9b-016b-1000-9732-91d6c3c600af] Connection to tcp://192.168.1.112:5004 lost due to: Connection lost: Connection lost (32109) - java.io.EOFException
org.eclipse.paho.client.mqttv3.MqttException: Connection lost
    at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:181)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: null
    at java.io.DataInputStream.readByte(DataInputStream.java:267)
    at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:92)
    at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:133)
    ... 7 common frames omitted

我正在从数组中分离出1200个json的大型json,并试图发布mqtt。

enter image description here

0 个答案:

没有答案