使用flume(无hadoop)将数据从本地目录传输到azure data lake存储

camsedfj  于 2021-06-04  发布在  Flume
关注(0)|答案(0)|浏览(212)

我正在尝试将位于我的vm linux目录上的数据从我的azure数据湖存储库的flume目录中摄取到一个目录中,我不知道要使用哪种类型的接收器,甚至不知道是否可能知道对于源,我使用了spooldir
*****我的flume conf文件

a1是我的Flume代理

a1.sources = r1
a1.sinks = k1
a1.channels = c1

# Describe/configure the source

a1.sources.r1.type = spooldir
a1.sources.r1.spoolDir = home/
a1.sources.r1.fileHeader = true

# describe the sink ( here is my problem  i don't know what type of sink to use i don't find any documentation about it)

a1.sinks.k1.type = 
a1.sinks.k1.endpoint = 

# Use a channel which buffers events in memory

a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100

# Bind the source and sink to the channel

a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题