Job Components: `Builtin Test Reader Interfaces Test Reader Config`
builtin/test-reader/interfaces.TestReaderConfig
OpConfig is the configuration that user specifies
for a Operation.
The only required property is _op
since that is used
to find the operation.
Hierarchy
-
↳
TestReaderConfig
Table of contents
Properties
Properties
_dead_letter_action
• Optional
_dead_letter_action: string
This action will specify what to do when failing to parse or transform a record. The following builtin actions are supported:
- "throw": throw the original error
- "log": log the error and the data
- "none": (default) skip the error entirely
If none of the actions are specified it will try and use a registered Dead Letter Queue API under that name. The API must be already be created by a operation before it can used.
Inherited from
Defined in
packages/job-components/src/interfaces/jobs.ts:30
_encoding
• Optional
_encoding: DataEncoding
Used for specifying the data encoding type when using DataEntity.fromBuffer
.
Default
json
.
Inherited from
Defined in
packages/job-components/src/interfaces/jobs.ts:18
_op
• _op: string
The name of the operation
Inherited from
Defined in
packages/job-components/src/interfaces/jobs.ts:11
fetcher_data_file_path
• Optional
fetcher_data_file_path: string
Defined in
packages/job-components/src/builtin/test-reader/interfaces.ts:4
passthrough_slice
• Optional
passthrough_slice: boolean
Defined in
packages/job-components/src/builtin/test-reader/interfaces.ts:6
slicer_data_file_path
• Optional
slicer_data_file_path: string
Defined in
packages/job-components/src/builtin/test-reader/interfaces.ts:5