Adapter type: dsv_sockin_out. The Socket (As Server) CSV Output adapter sends data in Event Stream Processor delimited format to the incoming network adapters.
The adapter can be configured to send only the base state of the stream. The socket closes after sending the base state of the stream but may be repeatedly reconnected.
It is possible for the data not to have the header, or for the header not to specify the field names.
If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type.
Property Label | Description |
---|---|
Port |
Property ID: port Type: int (Required) Server port. If port is set to -1, the adapter reads from the Ephemeral Port File. Default value is 12345. |
Include Base Content |
Property ID: outputBase Type: boolean (Optional) Records the initial contents of the stream, not just the updates. Default value is false. |
Prepend Stream Name, Opcode |
Property ID: prependStreamNameOpcode Type: boolean (Optional) If true, each message starts with the stream name and the opcode. Default value is false. |
Ephemeral Port File |
Property ID: epFile Type: filename (Advanced) The file that contains the server port number, if port is -1. No default value. |
Only Base Content |
Property ID: onlyBase Type: boolean (Advanced) The adapter sends only the initial contents of the stream, once. Default value is false. |
Delimiter |
Property ID: delimiter Type: string (Advanced) The symbol used to separate the columns. Default value is a comma ( , ). |
Has Header | Property ID: hasHeader Type: boolean (Advanced) Whether the first line of the file contains the description of the fields. Default value is false . |
Date Format |
Property ID: dateFormat Type: string (Advanced) The format string for parsing date values. Default value is %Y-%m-%dT%H:%M:%S. |
Timestamp Format | Property ID: timestampFormat Type: string (Advanced) The format string for parsing timestamp values. Default value is %Y-%m-%dT%H:%M:%S . |
Field Mapping |
Property ID: permutation Type: permutation Mapping between Event Stream Processor and external fields, for example: |
PropertySet |
Property ID: propertyset Type: string (Advanced) Specifies the name of the property set. Property sets are reusable sets of properties that are stored in the project configuration file. Using these sets allows you to move adapter configuration properties out of the CCL file and into the CCR file. If you specify the same properties in the project configuration file and the ATTACH ADAPTER statement, the values in the property set override the values defined in the ATTACH ADAPTER statement. No default value. |