check_interpolation

Resolves a string containing function interpolations and then tests the result against a child condition.

check_interpolation:
value: ""
condition: {}

For example, you could use this to test against the size of a message batch:

check_interpolation:
value: ${!batch_size}
condition:
number:
operator: greater_than
arg: 1

Fields

value

string The value to check against the child condition.

This field supports interpolation functions that are resolved batch wide.

# Examples
value: ${!json_field:doc.title}
value: ${!metadata:kafka_topic}
value: ${!json_field:doc.id}-${!metadata:kafka_key}

condition

object A child condition to test the field contents against.