本文介绍了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.

这篇关于Zookeeper错误:由于java.io.IOException而导致会话0x0关闭的异常:Len错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 08:11