yiles2003
yiles2003

Reputation: 11

AWS lambda from MSK cluster missing kafka message header

I want to use AWS lambda to consumer kafka messages, but the events I received don't contain kafka headers, that are very critical. Is there a way to get messages with headers info?

Upvotes: 1

Views: 901

Answers (1)

Justin
Justin

Reputation: 178

The Lambda Kafka integration did not support headers before, but they have (very recently, in the last few days) silently added support for headers. You can see this in the latest event example in the docs (or try it yourself): https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html

Upvotes: 1

Related Questions