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?
Asked
Active
Viewed 555 times
1
-
Is that headers available in messages in kafka? or no headers in kafka also? – nipuna May 26 '21 at 15:49
-
Is this solved? I see same behavior. The headers are there in kafka. Other consumers are able to receive headers – VamsiKrishna Jun 26 '21 at 04:54
1 Answers
1
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

Justin
- 178
- 7