kafka配置文件詳解之:producer.properties

#指定節點列表 metadata.broker.list=kafka01:9092,kafka02:9092,kafka03:9092 #指定分區處理類。默認kafka.producer.DefaultPartitioner #partitioner.class=kafka.producer.DefaultPartitioner #是否壓縮,0表明不壓縮,1表明用gzip壓縮,2表明用
相關文章
相關標籤/搜索