1.背景 kafka读取数据报错,代码逻辑如下 /** * KafkaConsumer */ private KafkaConsumer<byte[], byte[]> consumer; ConsumerRecords<byte[], byte