版本:kafka_2.12-0.10.2.1,生产者消费者示例代码,以及client相关包。部分代码:publicstaticKafkaProducergetProducer(){if(kp==null){Propertiesprops=newProperties();props.put("bootstrap.servers","127.0.0.1:9092");props.put("acks","0&qu