-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Open
Copy link
Labels
connectorsIssues related to the adapters/connectors crateIssues related to the adapters/connectors cratehigh priorityTask should be tackled first, added in the current sprint if necessaryTask should be tackled first, added in the current sprint if necessary
Description
There should be a trait for describing a "decoder" for data in a connector. A decoder comprises
- an initialization function, called once on pipeline startup
- a
decoder(&[u8]) -> Result<Vec<u8>, Error>function
The configuration for a connector will specify the name of an encoder. The user has to implement this trait for the encoder in the udf.rs file. The decoder function will be hooked to be executed between transport and parsing, and will pass the result to the parser for further processing. The design could potentially allow for a stack of such decoders for each connector.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
connectorsIssues related to the adapters/connectors crateIssues related to the adapters/connectors cratehigh priorityTask should be tackled first, added in the current sprint if necessaryTask should be tackled first, added in the current sprint if necessary