jmeter压测1w5连接,6s一条消息,java消费老是断开后自己重连,服务器带宽是5mbps,服务器是8核32g,消息丢弃的情况也比较多
JAVA报错:
org.eclipse.paho.client.mqttv3.MqttException: Connection lost
2024-12-09T09:30:46.518900542Z at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:190)
2024-12-09T09:30:46.518903917Z at java.base/java.lang.Thread.run(Thread.java:1583)
2024-12-09T09:30:46.518907139Z Caused by: java.io.EOFException: null
2024-12-09T09:30:46.518910289Z at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:297)
2024-12-09T09:30:46.518913425Z at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275)
2024-12-09T09:30:46.518916642Z at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:92)
2024-12-09T09:30:46.518919932Z at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:137)