ConduitIO / ConduitIO/conduit

Feature: Decode record before evaluating processor condition

Open
#1,937 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
610
Forks
63
Avg merge
12h 28m
Merged PRs (30d)
57

Description

### Feature description

A [processor condition](https://conduit.io/docs/using/processors/conditions) is currently evaluated on the record as-is. If a record has a schema attached and encoded avro data in the payload, it has no access to the data. Conduit should decode the data before passing it to the condition template.

The workaround right now is to use the `field.set` processor to evaluate the condition and set a metadata field with the result, then use that metadata field in the condition on the next processor (the metadata is not encoded and is accessible in the condition).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.