最全kafka从头到尾学习--结合书籍《深入理解Kafka》
public class KafkaProducerAnalysis{ public static final String brokerList = "localhost:9092"; public static final String topic = "topic-demo"; public static Properties initConfig() { Properties props = new Properties(); props.put(ProducerConfig.B.
原创
2020-12-28 21:55:34 ·
554 阅读 ·
3 评论