This section describes how you create a new server for FileSystem.
-
On the Servers Properties dialog select FileSystem from the dropdown list in the DBMS type section.
-
Enter information for each field on the Server Properties dialog. Refer to Table 4 for field information.
Parameter |
Description |
---|---|
Name |
Use alphanumeric characters to specify a unique server name for use in the model. Note: The slash (/), backslash (\), colon (:), left caret (<), right caret (>) and spaces cannot be used in a server name. |
DBMS Type |
Select FileSystem from the dropdown list. |
GMT offset (minutes) |
Displays the amount of time, in minutes, that local time differs from Greenwich Mean Time (GMT). For example, Boston is 300 minutes less than GMT. (Informational only) |
Settings tab |
|
---|---|
Parameter |
Description |
Use default location |
When checked, sets the default location in the kernel directory to <install_location>/targetfiles/<modelname>/<File Server label name>. If unchecked, you must add the path of the file location box. This can be specified as a full path or a relative path (added from the kernel directory). |
Location |
Displays the file location. This can be changed. |
Rollover criteria |
Models the target file to roll over to a new operating system file based on specified events. The default setting is when a request stops. The other options are:
When the file rolls over, the format is:
where YYYY stands for the year, MM for the month, DD for the day, HH for hours, mm for minutes, SS for seconds, rev for the revision number. |
File format |
Sets the format for messages passed to Kafka: CSV (No Schema): Comma Separated Values Json: encodes messages in json objects, rather than json fragments, readable by a json parser |
Omit null columns |
Discards data resulting in a null value from the message. Only available for targets set to use the Json message format. |
Images for update |
Sets how Connect CDC writes Before and After values for all columns to the file when it captures an update statement: After image only: Default. Connect CDC only writes After values to the record. Both in the same record: Connect CDC writes both Before and After values to the same record. Only available for targets set to use the Json message format. Each in a separate record: Connect CDC writes both Before and After values to different records. Connect CDC sets the before value entry in the sv_manip_type column to B. |
Character set |
One of the following:
|
Null String |
The default is “~”. Connect CDC differentiates between null and empty strings. Connect CDC identifies an empty string as no character. |
Quote character |
The default is a double quote ("). The quote character has the same requirements as the delimiter character. |
Field |
The default field delimiter character is the comma. For the allowable set of characters see Valid character set for field and record. |
Record |
The default record delimiter character is \n for Unix, >\r\n for Windows. For the allowable set of characters see Valid character set for field and record. |
Include before values |
When selected, Before and After values for all columns will be written to the File Server when an update statement is captured. The Before value entry in the column will be B. |
Valid Character Set for Field and Record |
|
|
You can specify multiple printable characters as delimiters. The default size value of the record delimiter is 10 and 20 in the case where escaped characters are used. At least one printable character and 2 for escaped character should be entered as a delimiter. Valid Values and Limitations
t, n, \, 0, or r will be counted as 1 character. If you use a space you must enter \b. The binary zero is notallowed in the list of escaped characters. Note: You can mix all of the above characters as delimiters. |