apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Munagala V. Ramanath (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (APEXMALHAR-2116) File Record reader module
Date Sun, 31 Jul 2016 19:29:20 GMT

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Munagala V. Ramanath resolved APEXMALHAR-2116.
       Resolution: Fixed
    Fix Version/s: 3.5.0


> File Record reader module
> -------------------------
>                 Key: APEXMALHAR-2116
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2116
>             Project: Apache Apex Malhar
>          Issue Type: New Feature
>            Reporter: Yogi Devendra
>            Assignee: Yogi Devendra
>             Fix For: 3.5.0
> This will be useful for the usecases which involves reading from files "line by line"
in parallel and emit each line as seperate tuple.
> Proposal is to have new Module which would allow users to monitor directories, read files
and emit data records(tuple). Records are based on record separator (e.g. newline) or fixed
size (no of bytes). 
> Plan is as follows:
> 1. New operator FileRecordReader which will extend BlockReader.
> 2. This operator will have configuration option to select mode for FIXED_LENGTH, SEPARATOR_BASED
> 3. Using appropriate ReaderContext based on mode.
> 4. New module FileRecordReaderModule which wraps (FileSplitter (existing) + FileRecordReader
> Reason for having different operator than BlockReader is because output port signature
is different than BlockReader.

This message was sent by Atlassian JIRA

View raw message