kafka服务器频繁接收到大报文导致报错

kafka集群周期性的接收到大的报文,导致内存占用率飙升,而且gc不掉,导致服务崩溃,WARN [SocketServer brokerId=3] Unexpected error from /39.103.165.234; closing connection (org.apache.kafka.common.network.Selector) org.apache.kafka.common.network.InvalidReceiveException: Invalid receive (size = 1212501072 larger than 419430400) at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:104) at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:424) at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:385) at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:651) at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:572) at org.apache.kafka.common.network.Selector.poll(Selector.java:483) at kafka.network.Processor.poll(SocketServer.scala:890) at kafka.network.Processor.run(SocketServer.scala:789)

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====