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, initMetadata
public 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)
AbstractFileOutput
prepare
in interface org.apache.storm.task.IBolt
prepare
in class AbstractFileOutput
public void process(org.apache.storm.tuple.Tuple tuple)
process
in class org.thales.punch.libraries.storm.api.BaseProcessingNode
Copyright © 2023. All rights reserved.