You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Kafka source in a pipeline and trying to figure out if its possible to use Kafka headers to do things like conditional routing or dynamic targeting of OpenSearch indices.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using the Kafka source in a pipeline and trying to figure out if its possible to use Kafka headers to do things like conditional routing or dynamic targeting of OpenSearch indices.
For example, something like:
Since Kafka header values are byte arrays and expressions only support basic types, this throws:
Is there a way to use the kafka_headers that get added to the event metadata? Some way to force it to parse the byte array as a string?
Beta Was this translation helpful? Give feedback.
All reactions