问题报错log.db_server.20001

21:46:48.713 [kafka-producer-network-thread | 65_11] DEBUG org.apache.kafka.common.network.Selector - [Producer clientId=65_11] Connection with /192.168.2.31 disconnected
java.io.EOFException: null
        at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:97)
        at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:452)
        at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:402)
        at org.apache.kafka.common.network.Selector.attemptRead(Selector.java:674)
        at org.apache.kafka.common.network.Selector.pollSelectionKeys(Selector.java:576)
        at org.apache.kafka.common.network.Selector.poll(Selector.java:481)
        at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:561)
        at org.apache.kafka.clients.producer.internals.Sender.runOnce(Sender.java:327)
        at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:242)
        at java.lang.Thread.run(Thread.java:748)

问题说明:
客户端版本和kafka服务端版本不一致(预计略小于kafka版本)

客户端版本列表,参考:
https://mvnrepository.com/artifact/org.apache.kafka/kafka-clients
2024年8月7日版本为2.4.0

文档更新时间: 2024-08-07 05:10   作者:阿力