Hi Marcelo,
I am not really sure what you mean by rotate?
You want to create an HDFS file for each message. (You might want to consider this as it will create a lot of small files on HDFS)These message are currently partitioned by time and you want this to be partitioned by the Kafka message number. Is that it?
Gaurav
From: Marcelo Valle <mvall...@gmail.com>
Date: Tuesday, April 1, 2014 at 2:37 AM
To: "camu...@googlegroups.com" <camu...@googlegroups.com>
Subject: Rotate files system in HDFS
Hello again community,--
I'm triying to create one file in HDFS for each message in Kafka topic (my idea is to write binary files from Kafka directly in HDFS), but the rotate of HDFS files is done by the current time or for any batch (Camus job execution).
Is there any posibility to rotate files based in a number of Kafka Messages?And in the same way, can we rotate the HDFS file by file size?
Thanks!
You received this message because you are subscribed to the Google Groups "Camus - Kafka ETL for Hadoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camus_etl+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.