Zookeeper 错误:由于 java.io.IOException 导致会话 0x0 关闭的异常:Len 错误

问题描述:

我们有一个配置良好的zookeeper和kafka集群节点.创建主题并发送关于该主题的消息的手动测试成功通过.但是当我从测试设备运行测试以使用 MQTT 协议创建主题时,我收到:

We have a well configured zookeeper and kafka cluster nodes. The manual test for creation a topic and sending a message on that topic passed successfully. But when I run a test from a test equipment in order to create a topic with MQTT protocol, I receive:

Exception causing close of session 0x0 due to java.io.IOException: Len error 271056900
[myid:1] - INFO  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1008] - Closed socket connection for client /192.18.0.1:15659 (no session established for client).

有人能给我一些关于如何解决这个问题的提示吗?

Can someone give me some hint on how to solve this issue?

看起来你超出了你的 jute.maxbuffer.尝试增加它.这里可以找到更多信息.

Looks like you are exceeding your jute.maxbuffer. Try to increase it. Here you can find some more information.