Code like this, KafkaSource will simply put "System.currentTimeMillis()" as "timestamp"2015-04-15 0:52 GMT+08:00 Gwen Shapira <firstname.lastname@example.org>:Are you sure KafkaSource does that? Or do you have an Interceptor?
On Tue, Apr 14, 2015 at 9:50 AM, Tao Li <email@example.com> wrote:
> Hi all:
> I found that KafkaSource will put "System.currentTimeMillis()" as
> "timestamp" field in header. If we use HDFSEventSink, the HDFS log can be
> rotate by the timestamp.
> But the web server log usually contains "timestamp" string, and it indicate
> the true timestamp, other than "System.currentTimeMillis()". So I think if
> have a feature to allow to customarize the "timestamp" field, will be