Replies: 1 comment
-
|
@jcrean would it work for you if Data Prepper has a way to convert "kafka_headers/source" from byte array to string? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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