具体的思路就是调用spring-kafka里KafkaTemplate类的sendXXXX方法,具体可以查看该类. 首先构造一个创建template的方法 package com.lihuia.qa.kafka;
確定! 回上一頁