Recording your streams with Storm Streaming Server is pretty straightforward. Settings are tied to the application, so you can easily decide which streams are going to be recorded or not.
In order to properly configure stream recording on Storm server, please edit config/preferences.xml file and look for Application/Record tag.
<Record enabled="false">
<path></path>
<cacheSize>45</cacheSize>
</Record>
All tags are explained below:
Tag name | Default value | Description |
---|---|---|
Record:enabled | false | Decides whenever streams are going to be saved for this application or not. |
path | none | An absolute path for recorded streams. Please keep in mind that Storm server must have writing rights for this location. |
cacheSize | 45 | Defines the size of video chunks (in MB) that will be saved on the hard drive. Smaller chunks will use less RAM memory, but might put a lot of stress on a hard disk. |