kafka消费的二进制流乱码,怎么样将二进制正确的打印显示或者写入到文件中
@KafkaListener(topics = "")
public void consumerStreamData(ConsumerRecord<?,?> record){
System.out.println("[stream] record ===================== \n" + record.value() + "\n offset =========================== " + record.offset());
}