可以flume 1.5处理/传输压缩文件到hdfs sink。我尝试使用blobdeserializer 和compressedstream 和编解码器作为gzip。我使用的配置选项如下
agent1.sources.c1.deserializer =org.apache.flume.sink.solr.morphline.BlobDeserializer$Builder
agent1.sinks.c1s1.hdfs.fileType = CompressedStream
agent1.sinks.c1s1.hdfs.writeFormat = Text
agent1.sinks.c1s1.hdfs.filePrefix = %{file}
agent1.sinks.c1s1.hdfs.codeC = gzip
agent1.sinks.c1s1.hdfs.serializer.compressionCodec = gzip