2

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?

Gryu
  • 2,102
  • 2
  • 16
  • 29
mjaneva
  • 21
  • 1
  • 3

2 Answers2

1

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

heniekk
  • 374
  • 2
  • 10
  • https://solr.apache.org/guide/7_4/setting-up-an-external-zookeeper-ensemble.html#configuring-jute-maxbuffer-on-zookeeper-nodes – iamsmkr Feb 21 '22 at 16:50
0

If you are using docker-compose, this helps me:

environment:
  KAFKA_OPTS: -Djute.maxbuffer=500000000
jumping_monkey
  • 5,941
  • 2
  • 43
  • 58