Reputation: 483
I am new to Apache Beam and not sure how to accomplish this task. I want to write a partitioned parquet file using Apache Beam in Java. Data is read from Kafka and I want the file to have a new partition every hour. The timestamp columns is present in the data.
Upvotes: 0
Views: 746
Reputation: 1443
Try to use FixedWindows for that. There is an example of windowed WordCount that writes every window into separate text file - so, I believe, it can be adapted for your case.
Upvotes: 0