flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Herreros <gherre...@gmail.com>
Subject Re: How to customize the key in a HDFS SequenceFile sink
Date Tue, 08 Sep 2015 07:29:20 GMT
I would implement a custom serializer and configure it in the standard Hdfs
That way you control how you build the key for each event.


On 8 September 2015 at 06:42, <Thomas.Beer@continental-corporation.com>

> Hello,
> I'm using Flume's HDFS SequenceFile sink for writing data to HDFS. I'm
> looking for a possibility to create "custom keys". Per default, Flume is
> using the Timestamp as key within a SequenceFile. However, in my usecase I
> would like to use a customized string as key (instead of the timestamp).
> What are best practices for implementing/configuring such a "custom key"
> within Flume?
> Best, Thomas

View raw message