Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Decode record before evaluating processor condition #1937

Open
lovromazgon opened this issue Oct 31, 2024 · 1 comment
Open

Feature: Decode record before evaluating processor condition #1937

lovromazgon opened this issue Oct 31, 2024 · 1 comment
Labels
feature New feature or request

Comments

@lovromazgon
Copy link
Member

lovromazgon commented Oct 31, 2024

Feature description

A processor condition 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).

@lovromazgon lovromazgon added feature New feature or request triage Needs to be triaged labels Oct 31, 2024
@lovromazgon lovromazgon removed the triage Needs to be triaged label Nov 4, 2024
@srikary12
Copy link

I would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants