Skip to content

Event missing the message key; dropping event #12418

Answered by jszwedko
adam-mrozik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adam-mrozik !

I think you will want to set:

encoding:
  codec: json

On your http sinks to match the configuration you have on the http source (which is expecting JSON). Alternatively, you can configure the http source with:

encoding: text

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants