• kafka异常


    客户端pom.xml配置的kafka-clients版本一定要与kafka版本一致,否则会报错

    1. 错误一:
      Error reading field 'topic_metadata': Error reading array of size 1139567, only 45 bytes available

    2. 错误二:
      Exception in thread "main" org.apache.kafka.common.protocol.types.SchemaException: Error reading field 'brokers': Error reading field 'host': Error reading string of length 12601, only 210 bytes available
      at org.apache.kafka.common.protocol.types.Schema.read(Schema.java:73)
      at org.apache.kafka.clients.NetworkClient.parseResponse(NetworkClient.java:380)
      at org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:449)
      at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:269)
      at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.clientPoll(ConsumerNetworkClient.java:360)
      at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:224)
      at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:192)
      at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.awaitMetadataUpdate(ConsumerNetworkClient.java:134)
      at org.apache.kafka.clients.consumer.internals.AbstractCoordinator.ensureCoordinatorReady(AbstractCoordinator.java:183)
      at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:973)
      at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:937)
      at kafka.consumer.Consumer.connectionKafka(Consumer.java:32)
      at kafka.consumer.Consumer.main(Consumer.java:14)

  • 相关阅读:
    unity导弹算法 预计目标点
    unity编辑器xml数据库插件
    简单Unity时间架构设计(克洛诺斯之匙)
    Unity武器系统的优化
    暴风魔镜安卓手柄输入检测接口
    基于unity的飞行模拟设计
    C#打印日志的小技巧
    启示录
    关于击杀与辅助奖励的方案
    unity抛物线,平均速度下的运动轨迹
  • 原文地址:https://www.cnblogs.com/isenhome/p/6110992.html
Copyright © 2020-2023  润新知