Event missing the message key; dropping event #12418
-
Hey, We are trying to coordinate 3 vectors. Flow goes as follow:
Vector1 Source and sink look like this:
Our Vector 2 configuration looks like this:
Unfortunately, between vector2 and vector3 we get an error: And indeed, if I stdout Vector1 message, it has keys We have some transforms of One suspicion I have is that Vector1 is Agent and Vector2 and Vector3 are Aggregators. May it be that aggregator is dropping this structure? Any ideas would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @adam-mrozik ! I think you will want to set: encoding:
codec: json On your encoding: text Note that the |
Beta Was this translation helpful? Give feedback.
Hi @adam-mrozik !
I think you will want to set:
On your
http
sinks to match the configuration you have on thehttp
source (which is expecting JSON). Alternatively, you can configure thehttp
source with:Note that the
text
encoding just passes along the raw message without any of the additional metadata fields. That might be what you want in this case though, I'm not 100% sure. It depends on if you need the source metadata fields in the aggregators.