其他分享
首页 > 其他分享> > 常用sink

常用sink

作者:互联网

HDFS Sink

# sink1
a3.sinks.k1.type = hdfs
a3.sinks.k1.hdfs.path = /origin_data/gmall/db/business_db/inc/%{tableName}_inc/%Y-%m-%d
a3.sinks.k1.hdfs.filePrefix = db
a3.sinks.k1.hdfs.useLocalTimeStamp=false
a3.sinks.k1.hdfs.round = false
# 解决hdfs中小文件问题
a3.sinks.k1.hdfs.rollInterval = 30
a3.sinks.k1.hdfs.rollSize = 134217728
a3.sinks.k1.hdfs.rollCount = 0
# 控制输出文件DataStream格式。
a3.sinks.k1.hdfs.fileType = CompressedStream
a3.sinks.k1.hdfs.codeC = gzip

 

标签:hdfs,常用,false,sinks,db,k1,a3,sink
来源: https://www.cnblogs.com/averyve/p/16629469.html