# Striim 3.9.8 documentation

#### File Writer

Writes to files.

property

type

default value

notes

Directory

java.lang.String

• If no directory is specified, the file will be written to the Striim program directory.

• If a directory name is specified without a path, it will be created in the the Striim program directory.

• If the specified directory does not exist, it will be created, provided the Striim server process has the necessary permissions.

• In a multi-server environment, if the directory is local to the Striim server, each server's file will contain only the events processed on that server.

See Setting output names and rollover / upload policies for advanced options.

Encryption Policy

java.lang.String

Data Encryption Key Passphrase

File Name

java.lang.String

The base name of the files to be written. See Setting output names and rollover / upload policies.

Flush Policy

java.lang.Integer

EventCount:10000, Interval:30s

If data is not flushed properly with the default setting, you may use this property to specify how many events FileWriter will accumulate before it writes to disk and/or the maximum number of seconds that will elapse between writes. For example:

• 'eventcount:5000'

• 'interval:10'

• 'interval:10,eventcount:5000'

With a setting of 'eventcount:1', each event will be written to disk immediately. This can be useful during development, debugging, testing, and troubleshooting.

Rollover on DDL

java.lang.Boolean

True

Has effect only when the input stream is the output stream of a CDC reader source. With the default value of True, rolls over to a new file when a DDL event is received. Set to False to keep writing to the same file.

Rollover Policy

java.lang.String

EventCount:10000, Interval:30s