Search in sources :

Example 1 with S3BytesOutputModule

use of org.apache.apex.malhar.lib.fs.s3.S3TupleOutputModule.S3BytesOutputModule in project apex-malhar by apache.

the class Application method populateDAG.

public void populateDAG(DAG dag, Configuration conf) {
    FSRecordReaderModule recordReader = dag.addModule("lineInput", FSRecordReaderModule.class);
    S3BytesOutputModule s3StringOutputModule = dag.addModule("s3TupleOutput", S3BytesOutputModule.class);
    dag.addStream("data", recordReader.records, s3StringOutputModule.input);
}
Also used : FSRecordReaderModule(org.apache.apex.malhar.lib.fs.FSRecordReaderModule) S3BytesOutputModule(org.apache.apex.malhar.lib.fs.s3.S3TupleOutputModule.S3BytesOutputModule)

Aggregations

FSRecordReaderModule (org.apache.apex.malhar.lib.fs.FSRecordReaderModule)1 S3BytesOutputModule (org.apache.apex.malhar.lib.fs.s3.S3TupleOutputModule.S3BytesOutputModule)1