Kafka系列之:Java代码实现彻底删除kafka Topic数据
一、构造消费者 Properties props = new Properties(); props.put("bootstrap.servers", "10.129.10.1:9092,10.129.10.2:9092,10.129.10.3:9092"); props.put("sasl.jaas.config","org.apache.kafka.common.security.plain.PlainLoginModule " +
复制链接