public class AtLeastOnceFileOutput extends AbstractFileOutput
AbstractFileOutput,
Serialized FormarchiveFormatSettings, fileNameSupplier, tupleRtt, userStream| Constructor and Description |
|---|
AtLeastOnceFileOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> archiveUrls,
IFileNameSupplier fileNameSupplier,
org.thales.punch.libraries.objectstorage.tuples.ArchiveFormatSettings archiveFormatSettings)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getComponentConfiguration() |
void |
prepare(Map stormConf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector outputCollector)
Prepare this bolt.
|
void |
process(org.apache.storm.tuple.Tuple tuple) |
addRuntimeData, createArchiver, flush, getBloomFilterFields, getRuntimeData, getTimestampFromTuple, initMetadatapublic AtLeastOnceFileOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
List<org.thales.punch.libraries.objectstorage.tuples.ArchiveDevice> archiveUrls,
IFileNameSupplier fileNameSupplier,
org.thales.punch.libraries.objectstorage.tuples.ArchiveFormatSettings archiveFormatSettings)
boltConfig - Bolt settingsarchiveUrls - Url to archive destinationsfileNameSupplier - Supplier for filename (Object storage or Simple filename)archiveFormatSettings - Specific Batch settingspublic void prepare(Map stormConf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector outputCollector)
AbstractFileOutputprepare in interface org.apache.storm.task.IBoltprepare in class AbstractFileOutputpublic void process(org.apache.storm.tuple.Tuple tuple)
process in class org.thales.punch.libraries.storm.api.BaseProcessingNodeCopyright © 2023. All rights reserved.