赞
踩
pom.xml引入kafak依赖,增加配置logback.xml,设置日志级别,解决kafka生产者、消费者不停打印日志问题
<dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId